summaryrefslogtreecommitdiff
path: root/test/PCH/attrs.c
blob: f381f23704069d6ef62282e24b753499bd3c8b22 (plain)
1
2
3
4
5
6
7
8
// 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}}