summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorAlexis Hunt <alercah@gmail.com>2011-06-10 09:32:33 +0000
committerAlexis Hunt <alercah@gmail.com>2011-06-10 09:32:33 +0000
commit387e6d5dc6d50bd54b22c05c07686eb879356130 (patch)
treecb6e03fd654d846730020578f7eab12312269c8a /clang
parentff0ff6549dfc30eaaf137850b72477e5d98d65b1 (diff)
downloadbcm5719-llvm-387e6d5dc6d50bd54b22c05c07686eb879356130.tar.gz
bcm5719-llvm-387e6d5dc6d50bd54b22c05c07686eb879356130.zip
Uncomment this testcase now that we pass it.
llvm-svn: 132842
Diffstat (limited to 'clang')
-rw-r--r--clang/test/SemaCXX/cxx0x-deleted-default-ctor.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/clang/test/SemaCXX/cxx0x-deleted-default-ctor.cpp b/clang/test/SemaCXX/cxx0x-deleted-default-ctor.cpp
index 578d1e22ed5..dcb6ba2790b 100644
--- a/clang/test/SemaCXX/cxx0x-deleted-default-ctor.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud