[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Frontend / ast-main.c
blobcdc74219f73acc54bc4ab819583066e4991c4f25
1 // RUN: env SDKROOT="/" %clang -emit-llvm -S -o %t1.ll -x c - < %s
2 // RUN: env SDKROOT="/" %clang -emit-ast -o %t.ast %s
3 // RUN: env SDKROOT="/" %clang -emit-llvm -S -o %t2.ll -x ast - < %t.ast
4 // RUN: diff %t1.ll %t2.ll
6 int main(void) {
7 return 0;