[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / PCH / stmts.c
blob21c6605d592c6a643ade923c2b9645c4ecf34ca4
1 // Test this without pch.
2 // RUN: %clang_cc1 -include %S/stmts.h -emit-llvm -o - %s
4 // Test with pch.
5 // RUN: %clang_cc1 -emit-pch -o %t %S/stmts.h
6 // RUN: %clang_cc1 -include-pch %t -emit-llvm -o - %s
8 void g0(void) { f0(5); }
9 int g1(int x) { return f1(x); }
10 const char* query_name(void) { return what_is_my_name(); }
12 int use_computed_goto(int x) { return computed_goto(x); }
14 int get_weird_max(int x, int y) { return weird_max(x, y); }