summaryrefslogtreecommitdiff
path: root/clang/test/Frontend/ast-main.c
blob: 43237a12ef597243a52d2176015e161470c32035 (about) (plain)
1
2
3
4
5
6
7
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;
}