diff options
Diffstat (limited to 'test/SemaCXX/nested-name-spec.cpp')
-rw-r--r-- | test/SemaCXX/nested-name-spec.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/SemaCXX/nested-name-spec.cpp b/test/SemaCXX/nested-name-spec.cpp index c3e4eb18e2..8fff8a2b2c 100644 --- a/test/SemaCXX/nested-name-spec.cpp +++ b/test/SemaCXX/nested-name-spec.cpp @@ -189,8 +189,7 @@ class foo { foo<somens:a> a2; // expected-error {{unexpected namespace name 'somens': expected expression}} \ expected-error {{C++ requires a type specifier for all declarations}} -// FIXME: This is bogus, there is no int here! -somens::a a3 = a2; // expected-error {{cannot initialize 'a3' with an lvalue of type 'int'}} +somens::a a3 = a2; |