aboutsummaryrefslogtreecommitdiff
path: root/test/SemaTemplate/virtual-member-functions.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-05-11 21:32:35 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-05-11 21:32:35 +0000
commit380c2139959d8608782292984b457640a143a70d (patch)
tree9d19ddf00d7bec1e6a550bfe5c595295e736909a /test/SemaTemplate/virtual-member-functions.cpp
parent9430d5a61598c47d827e1cd05f7cf3f110eeec9e (diff)
Speculatively revert r103497, "Do not mark the virtual members of an
implicitly-instantiated class as ...", which seems to have broken bootstrap. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103515 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaTemplate/virtual-member-functions.cpp')
-rw-r--r--test/SemaTemplate/virtual-member-functions.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/test/SemaTemplate/virtual-member-functions.cpp b/test/SemaTemplate/virtual-member-functions.cpp
index 9ef1849bce..59df3c22aa 100644
--- a/test/SemaTemplate/virtual-member-functions.cpp
+++ b/test/SemaTemplate/virtual-member-functions.cpp
@@ -53,26 +53,3 @@ T *HasOutOfLineKey<T>::f(float *fp) {
}
HasOutOfLineKey<int> out_of_line;
-
-namespace std {
- class type_info;
-}
-
-namespace PR7114 {
- class A { virtual ~A(); }; // expected-note{{declared private here}}
-
- template<typename T>
- class B {
- public:
- class Inner : public A { }; // expected-error{{base class 'PR7114::A' has private destructor}}
- static Inner i;
- static const unsigned value = sizeof(i) == 4;
- };
-
- int f() { return B<int>::value; }
-
- void test_typeid(B<float>::Inner bfi) {
- (void)typeid(bfi); // expected-note{{implicit default destructor}}
- }
-}
-