[cfe-commits] r82437 - /cfe/trunk/test/Frontend/ast-main.c
Daniel Dunbar
daniel at zuster.org
Sun Sep 20 22:16:43 PDT 2009
Author: ddunbar
Date: Mon Sep 21 00:16:43 2009
New Revision: 82437
URL: http://llvm.org/viewvc/llvm-project?rev=82437&view=rev
Log:
Add an XFAIL test which compiles differently from a .ast.
Added:
cfe/trunk/test/Frontend/ast-main.c
Added: cfe/trunk/test/Frontend/ast-main.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/ast-main.c?rev=82437&view=auto
==============================================================================
--- cfe/trunk/test/Frontend/ast-main.c (added)
+++ cfe/trunk/test/Frontend/ast-main.c Mon Sep 21 00:16:43 2009
@@ -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;
+}
More information about the cfe-commits
mailing list