aboutsummaryrefslogtreecommitdiff
path: root/test/CXX/class/class.mem/p8-0x-pedantic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CXX/class/class.mem/p8-0x-pedantic.cpp')
-rw-r--r--test/CXX/class/class.mem/p8-0x-pedantic.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/CXX/class/class.mem/p8-0x-pedantic.cpp b/test/CXX/class/class.mem/p8-0x-pedantic.cpp
deleted file mode 100644
index a4b775c191d88..0000000000000
--- a/test/CXX/class/class.mem/p8-0x-pedantic.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c++0x -pedantic -verify %s
-
-namespace inline_extension {
- struct Base1 {
- virtual void f() {}
- };
-
- struct B : Base1 {
- virtual void f() override {} // expected-warning {{'override' keyword only allowed in declarations, allowed as an extension}}
- virtual void g() final {} // expected-warning {{'final' keyword only allowed in declarations, allowed as an extension}}
- virtual void h() new {} // expected-warning {{'new' keyword only allowed in declarations, allowed as an extension}}
- };
-}
-