2009-04-17 08:04:06 +08:00
|
|
|
// Test this without pch.
|
2009-04-18 00:34:57 +08:00
|
|
|
// RUN: clang-cc -fblocks -include %S/stmts.h -fsyntax-only -ast-print -o - %s
|
2009-04-17 08:04:06 +08:00
|
|
|
|
|
|
|
// Test with pch.
|
|
|
|
// RUN: clang-cc -emit-pch -fblocks -o %t %S/stmts.h &&
|
2009-04-18 00:34:57 +08:00
|
|
|
// RUN: clang-cc -fblocks -include-pch %t -fsyntax-only -ast-print -o - %s
|
2009-04-17 08:04:06 +08:00
|
|
|
|
|
|
|
void g0(void) { f0(5); }
|
2009-04-18 00:34:57 +08:00
|
|
|
int g1(int x) { return f1(x); }
|
2009-04-18 00:55:36 +08:00
|
|
|
const char* query_name(void) { return what_is_my_name(); }
|
2009-04-18 02:58:21 +08:00
|
|
|
|
|
|
|
int use_computed_goto(int x) { return computed_goto(x); }
|