Skip to content

Commit

Permalink
Uncomment this testcase now that we pass it.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132842 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Sean Hunt committed Jun 10, 2011
1 parent 53e669f commit 6f95f1b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test/SemaCXX/cxx0x-deleted-default-ctor.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 6f95f1b

Please sign in to comment.