blob: 4b2fc6247ce765888d92e8c23248a3ddad09ab70 [file] [log] [blame]
Douglas Gregor88c9a462009-04-17 21:46:47 +00001// Test this without pch.
Chris Lattnerb3dcc742009-04-18 18:45:36 +00002// RUN: clang-cc -include %S/multiple_decls.h -fsyntax-only -ast-print -o - %s &&
Douglas Gregor88c9a462009-04-17 21:46:47 +00003
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}