summaryrefslogtreecommitdiff
path: root/test/CXX
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2011-03-25 14:31:08 +0000
committerAnders Carlsson <andersca@mac.com>2011-03-25 14:31:08 +0000
commit2c3ee54e51d835a35bbf781c69e17f39e2ba0480 (patch)
tree9c85db7b678ad52eb7d33a0897771213135f9937 /test/CXX
parent16625e188771891e09b4b906918e27a824f3f6a6 (diff)
downloadclang-2c3ee54e51d835a35bbf781c69e17f39e2ba0480.tar.gz
Get rid of handling of the 'explicit' keyword from class-head. We still parse it though, although that will change shortly.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128277 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CXX')
-rw-r--r--test/CXX/class.derived/p8-0x.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/test/CXX/class.derived/p8-0x.cpp b/test/CXX/class.derived/p8-0x.cpp
deleted file mode 100644
index 6a667f73ec..0000000000
--- a/test/CXX/class.derived/p8-0x.cpp
+++ /dev/null
@@ -1,22 +0,0 @@
-// RUN: %clang_cc1 %s -fsyntax-only -verify -std=c++0x
-
-namespace Test1 {
-
-struct A {
- virtual void f(); // expected-note {{overridden virtual function is here}}
-};
-
-struct B explicit : A {
- virtual void f(); // expected-error {{overrides function without being marked 'override'}}
-};
-
-struct C {
- virtual ~C();
-};
-
-struct D explicit : C {
- virtual ~D();
-};
-
-}
-