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

9 lines
306 B
C

// Test this without pch.
// RUN: clang-cc -include %S/attrs.h -fsyntax-only -verify %s &&
// Test with pch.
// RUN: clang-cc -emit-pch -o %t %S/attrs.h &&
// RUN: clang-cc -include-pch %t -fsyntax-only -verify %s
// expected-note{{previous overload}}
double f(double); // expected-error{{overloadable}}