summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-07-20 19:22:08 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-07-20 19:22:08 +0000
commit070a5d675020b665bc7ee5f1b6dacd4092c7ab69 (patch)
tree2ec0e0ab5028fc3c587e08a1f53d82fe9fe041b3 /clang
parent828b565c9c86e5968c461c432c4b3d988ba4b8c1 (diff)
downloadbcm5719-llvm-070a5d675020b665bc7ee5f1b6dacd4092c7ab69.tar.gz
bcm5719-llvm-070a5d675020b665bc7ee5f1b6dacd4092c7ab69.zip
Undisable a test for a c++98-compat warning for inheriting constructors now that we implement them.
llvm-svn: 186768
Diffstat (limited to 'clang')
-rw-r--r--clang/test/SemaCXX/cxx98-compat.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/clang/test/SemaCXX/cxx98-compat.cpp b/clang/test/SemaCXX/cxx98-compat.cpp
index 51a59fd6fc7..7ab92f01d8d 100644
--- a/clang/test/SemaCXX/cxx98-compat.cpp
+++ b/clang/test/SemaCXX/cxx98-compat.cpp
@@ -147,16 +147,12 @@ bool no_except_expr = noexcept(1 + 1); // expected-warning {{noexcept expression
void *null = nullptr; // expected-warning {{'nullptr' is incompatible with C++98}}
static_assert(true, "!"); // expected-warning {{static_assert declarations are incompatible with C++98}}
-// FIXME: Reintroduce this test if support for inheriting constructors is
-// implemented.
-#if 0
struct InhCtorBase {
InhCtorBase(int);
};
struct InhCtorDerived : InhCtorBase {
- using InhCtorBase::InhCtorBase; // xpected-warning {{inheriting constructors are incompatible with C++98}}
+ using InhCtorBase::InhCtorBase; // expected-warning {{inheriting constructors are incompatible with C++98}}
};
-#endif
struct FriendMember {
static void MemberFn();
OpenPOWER on IntegriCloud