diff options
Diffstat (limited to 'clang/test/Frontend/ast-main.c')
-rw-r--r-- | clang/test/Frontend/ast-main.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/Frontend/ast-main.c b/clang/test/Frontend/ast-main.c new file mode 100644 index 0000000..43237a1 --- /dev/null +++ b/clang/test/Frontend/ast-main.c @@ -0,0 +1,8 @@ +// RUN: %clang -emit-llvm -S -o %t1.ll -x c - < %s +// RUN: %clang -emit-ast -o %t.ast %s +// RUN: %clang -emit-llvm -S -o %t2.ll -x ast - < %t.ast +// RUN: diff %t1.ll %t2.ll + +int main() { + return 0; +} |