diff options
Diffstat (limited to 'clang/test/SemaCXX/cxx0x-deleted-default-ctor.cpp')
-rw-r--r-- | clang/test/SemaCXX/cxx0x-deleted-default-ctor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/SemaCXX/cxx0x-deleted-default-ctor.cpp b/clang/test/SemaCXX/cxx0x-deleted-default-ctor.cpp index 0f0863515c6..f6e5593d850 100644 --- a/clang/test/SemaCXX/cxx0x-deleted-default-ctor.cpp +++ b/clang/test/SemaCXX/cxx0x-deleted-default-ctor.cpp @@ -121,11 +121,11 @@ late_delete::late_delete() = default; // expected-error {{would delete it}} // See also rdar://problem/8125400. namespace empty { - static union {}; // expected-error {{implicitly-deleted default constructor}} expected-note {{here}} - static union { union {}; }; // expected-error {{implicitly-deleted default constructor}} expected-note {{here}} + static union {}; + static union { union {}; }; static union { struct {}; }; - static union { union { union {}; }; }; // expected-error {{implicitly-deleted default constructor}} expected-note {{here}} + static union { union { union {}; }; }; static union { union { struct {}; }; }; - static union { struct { union {}; }; }; // expected-error {{implicitly-deleted default constructor}} expected-note {{here}} + static union { struct { union {}; }; }; static union { struct { struct {}; }; }; } |