1 | // Test this without pch. |
---|---|
2 | // RUN: %clang_cc1 -include %S/multiple_decls.h -fsyntax-only -ast-print -o - %s |
3 | |
4 | // Test with pch. |
5 | // RUN: %clang_cc1 -emit-pch -o %t %S/multiple_decls.h |
6 | // RUN: %clang_cc1 -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 | } |
18 |