2009-04-18 05:46:47 +08:00
|
|
|
// Test this without pch.
|
2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 -include %S/multiple_decls.h -fsyntax-only -ast-print -o - %s
|
2009-04-18 05:46:47 +08:00
|
|
|
|
|
|
|
// Test with pch.
|
2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 -emit-pch -o %t %S/multiple_decls.h
|
|
|
|
// RUN: %clang_cc1 -include-pch %t -fsyntax-only -ast-print -o - %s
|
2009-04-18 05:46:47 +08:00
|
|
|
|
|
|
|
void f0(char c) {
|
|
|
|
wide(c);
|
|
|
|
}
|
|
|
|
|
|
|
|
struct wide w;
|
|
|
|
struct narrow n;
|
|
|
|
|
|
|
|
void f1(int i) {
|
|
|
|
narrow(i);
|
|
|
|
}
|