From: Daniel Dunbar Date: Mon, 21 Sep 2009 05:16:43 +0000 (+0000) Subject: Add an XFAIL test which compiles differently from a .ast. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=657f21bee4750eb28dfb4d60662919417a53d724;p=clang Add an XFAIL test which compiles differently from a .ast. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82437 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Frontend/ast-main.c b/test/Frontend/ast-main.c new file mode 100644 index 0000000000..a08eb6bf73 --- /dev/null +++ b/test/Frontend/ast-main.c @@ -0,0 +1,9 @@ +// RUN: clang -emit-llvm -S -o %t1.ll %s && +// RUN: clang -emit-ast -o %t.ast %s && +// RUN: clang -emit-llvm -S -o %t2.ll %t.ast && +// RUN: diff %t1.ll %t2.ll +// XFAIL: * + +int main() { + return 0; +}