aboutsummaryrefslogtreecommitdiff
path: root/test/SemaCXX/class-names.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/class-names.cpp')
-rw-r--r--test/SemaCXX/class-names.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaCXX/class-names.cpp b/test/SemaCXX/class-names.cpp
index a5569c0c767b..da9014574d2c 100644
--- a/test/SemaCXX/class-names.cpp
+++ b/test/SemaCXX/class-names.cpp
@@ -5,7 +5,7 @@ C c;
void D(int);
-class D {}; // expected-note {{previous use is here}}
+class D {};
void foo()
{
@@ -13,7 +13,7 @@ void foo()
class D d;
}
-class D;
+class D; // expected-note {{previous use is here}}
enum D; // expected-error {{use of 'D' with tag type that does not match previous declaration}}