diff options
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/SemaCXX/class-names.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaCXX/class-names.cpp b/clang/test/SemaCXX/class-names.cpp index a5569c0c767..da9014574d2 100644 --- a/clang/test/SemaCXX/class-names.cpp +++ b/clang/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}} |

