Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / PCH / stmts.c
blob6def453c86e41e0bf9a5899f4f7c2d918473b7ca
1 // Test this without pch.
2 // RUN: %clang_cc1 -include %S/stmts.h -fsyntax-only -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 -fsyntax-only -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); }