summaryrefslogtreecommitdiffstats
path: root/test/PCH/typo2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/PCH/typo2.cpp')
-rw-r--r--test/PCH/typo2.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/PCH/typo2.cpp b/test/PCH/typo2.cpp
index f9b4c83..9aa97bd 100644
--- a/test/PCH/typo2.cpp
+++ b/test/PCH/typo2.cpp
@@ -4,10 +4,11 @@
#ifndef HEADER_INCLUDED
#define HEADER_INCLUDED
-void func(struct Test); // expected-note{{'Test' declared here}}
+void func(struct Test);
#else
::Yest *T; // expected-error{{did you mean 'Test'}}
+ // expected-note@7{{'Test' declared here}}
#endif
OpenPOWER on IntegriCloud