summaryrefslogtreecommitdiffstats
path: root/test/PCH/replaced-decl.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/PCH/replaced-decl.m')
-rw-r--r--test/PCH/replaced-decl.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/PCH/replaced-decl.m b/test/PCH/replaced-decl.m
index b9fee95..5636a57 100644
--- a/test/PCH/replaced-decl.m
+++ b/test/PCH/replaced-decl.m
@@ -12,11 +12,12 @@
#elif !defined(HEADER2)
#define HEADER2
-@interface I // expected-note {{previous}}
+@interface I
@end
#else
typedef int I; // expected-error {{redefinition}}
+ // expected-note@15 {{previous}}
#endif
OpenPOWER on IntegriCloud