diff options
Diffstat (limited to 'test/SemaCXX/implicit-exception-spec.cpp')
| -rw-r--r-- | test/SemaCXX/implicit-exception-spec.cpp | 7 | 
1 files changed, 3 insertions, 4 deletions
| diff --git a/test/SemaCXX/implicit-exception-spec.cpp b/test/SemaCXX/implicit-exception-spec.cpp index 559c3013f7e9..786e8f4a148e 100644 --- a/test/SemaCXX/implicit-exception-spec.cpp +++ b/test/SemaCXX/implicit-exception-spec.cpp @@ -54,10 +54,9 @@ namespace ExceptionSpecification {  // The same problem arises in delayed parsing of default arguments,  // which clang does not yet support.  namespace DefaultArgument { -  // FIXME: this diagnostic is completely wrong. -  struct Default { // expected-note {{explicitly marked deleted here}} +  struct Default {      struct T { -      T(int = ExceptionIf<noexcept(Default())::f()); // expected-error {{call to deleted constructor}} -    } t; +      T(int = ExceptionIf<noexcept(Default())::f()); // expected-error {{call to implicitly-deleted default constructor}} +    } t; // expected-note {{has no default constructor}}    };  } | 
