blob: e9d03e877496fab933f5d32af8e0511307246a0a [file] [log] [blame]
Douglas Gregor025452f2009-04-17 00:04:06 +00001// Test this without pch.
Douglas Gregor0de9d882009-04-17 16:34:57 +00002// RUN: clang-cc -fblocks -include %S/stmts.h -fsyntax-only -ast-print -o - %s
Douglas Gregor025452f2009-04-17 00:04:06 +00003
4// Test with pch.
5// RUN: clang-cc -emit-pch -fblocks -o %t %S/stmts.h &&
Douglas Gregor0de9d882009-04-17 16:34:57 +00006// RUN: clang-cc -fblocks -include-pch %t -fsyntax-only -ast-print -o - %s
Douglas Gregor025452f2009-04-17 00:04:06 +00007
8void g0(void) { f0(5); }
Douglas Gregor0de9d882009-04-17 16:34:57 +00009int g1(int x) { return f1(x); }