xref: /minix3/external/bsd/llvm/dist/clang/test/Frontend/ast-main.c (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc // RUN: %clang -emit-llvm -S -o %t1.ll -x c - < %s
2*f4a2713aSLionel Sambuc // RUN: %clang -emit-ast -o %t.ast %s
3*f4a2713aSLionel Sambuc // RUN: %clang -emit-llvm -S -o %t2.ll -x ast - < %t.ast
4*f4a2713aSLionel Sambuc // RUN: diff %t1.ll %t2.ll
5*f4a2713aSLionel Sambuc 
main()6*f4a2713aSLionel Sambuc int main() {
7*f4a2713aSLionel Sambuc   return 0;
8*f4a2713aSLionel Sambuc }
9