Douglas Gregor | 88c9a46 | 2009-04-17 21:46:47 +0000 | [diff] [blame] | 1 | // Test this without pch. |
2 | // RUN: clang-cc -include %S/multiple_decls.h -fsyntax-only -ast-print -o - %s | ||||
3 | |||||
4 | // Test with pch. | ||||
5 | // RUN: clang-cc -emit-pch -o %t %S/multiple_decls.h && | ||||
6 | // RUN: clang-cc -include-pch %t -fsyntax-only -ast-print -o - %s | ||||
7 | |||||
8 | void f0(char c) { | ||||
9 | wide(c); | ||||
10 | } | ||||
11 | |||||
12 | struct wide w; | ||||
13 | struct narrow n; | ||||
14 | |||||
15 | void f1(int i) { | ||||
16 | narrow(i); | ||||
17 | } |