freebsd-skq/test/PCH/multiple_decls.c
2009-06-02 17:58:47 +00:00

18 lines
348 B
C

// Test this without pch.
// RUN: clang-cc -include %S/multiple_decls.h -fsyntax-only -ast-print -o - %s &&
// Test with pch.
// RUN: clang-cc -emit-pch -o %t %S/multiple_decls.h &&
// RUN: clang-cc -include-pch %t -fsyntax-only -ast-print -o - %s
void f0(char c) {
wide(c);
}
struct wide w;
struct narrow n;
void f1(int i) {
narrow(i);
}