2009-04-16 05:30:51 +08:00
|
|
|
// Test this without pch.
|
2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 -include %S/attrs.h -fsyntax-only -verify %s
|
2009-04-16 05:30:51 +08:00
|
|
|
|
|
|
|
// Test with pch.
|
2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 -emit-pch -o %t %S/attrs.h
|
|
|
|
// RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s
|
2009-04-16 05:30:51 +08:00
|
|
|
// expected-note{{previous overload}}
|
|
|
|
double f(double); // expected-error{{overloadable}}
|