freebsd-nq/test/PCH/attrs.c

9 lines
306 B
C
Raw Normal View History

2009-06-02 17:58:47 +00:00
// 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}}