1*f4a2713aSLionel Sambuc // Test this without pch. 2*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -include %S/stmts.h -fsyntax-only -emit-llvm -o - %s 3*f4a2713aSLionel Sambuc 4*f4a2713aSLionel Sambuc // Test with pch. 5*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -emit-pch -o %t %S/stmts.h 6*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -include-pch %t -fsyntax-only -emit-llvm -o - %s 7*f4a2713aSLionel Sambuc g0(void)8*f4a2713aSLionel Sambucvoid g0(void) { f0(5); } g1(int x)9*f4a2713aSLionel Sambucint g1(int x) { return f1(x); } query_name(void)10*f4a2713aSLionel Sambucconst char* query_name(void) { return what_is_my_name(); } 11*f4a2713aSLionel Sambuc use_computed_goto(int x)12*f4a2713aSLionel Sambucint use_computed_goto(int x) { return computed_goto(x); } 13*f4a2713aSLionel Sambuc get_weird_max(int x,int y)14*f4a2713aSLionel Sambucint get_weird_max(int x, int y) { return weird_max(x, y); } 15