aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-21 05:16:43 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-21 05:16:43 +0000
commit657f21bee4750eb28dfb4d60662919417a53d724 (patch)
tree27f62829646e9385a4c27b546d16bf82efe39d63
parentab8e281b32a3d3b9b18257d26844362bf806ecdc (diff)
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
-rw-r--r--test/Frontend/ast-main.c9
1 files changed, 9 insertions, 0 deletions
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;
+}