diff options
author | Sean Hunt <scshunt@csclub.uwaterloo.ca> | 2011-06-10 09:32:33 +0000 |
---|---|---|
committer | Sean Hunt <scshunt@csclub.uwaterloo.ca> | 2011-06-10 09:32:33 +0000 |
commit | 6f95f1be1807ca0695edf4c8773b70218a9ab731 (patch) | |
tree | 8bb44e99b9b388968c5624ea9d07556f4f23587f | |
parent | 53e669f4bd617dc4df1b1850bcd3998d7680bdc5 (diff) |
Uncomment this testcase now that we pass it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132842 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/SemaCXX/cxx0x-deleted-default-ctor.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/SemaCXX/cxx0x-deleted-default-ctor.cpp b/test/SemaCXX/cxx0x-deleted-default-ctor.cpp index 578d1e22ed..dcb6ba2790 100644 --- a/test/SemaCXX/cxx0x-deleted-default-ctor.cpp +++ b/test/SemaCXX/cxx0x-deleted-default-ctor.cpp @@ -90,16 +90,13 @@ struct has_amb_field { // expected-note {{marked deleted here}} }; has_amb_field haf; // expected-error {{call to deleted constructor}} -// FIXME: This should fail due to deletion -#if 0 class inaccessible_default { inaccessible_default(); }; -struct has_inacc_field { +struct has_inacc_field { // expected-note {{marked deleted here}} inaccessible_default id; }; -has_inacc_field hif; -#endif +has_inacc_field hif; // expected-error {{call to deleted constructor}} class friend_default { friend struct has_friend; |