blob: f73567ed01dda22b670b3ce52624cb8dd9ce0f5b [file] [log] [blame]
Douglas Gregor88c9a462009-04-17 21:46:47 +00001// 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
8void f0(char c) {
9 wide(c);
10}
11
12struct wide w;
13struct narrow n;
14
15void f1(int i) {
16 narrow(i);
17}