Author: rsmith
Date: Sat Jul 20 14:22:08 2013
New Revision: 186768

URL: http://llvm.org/viewvc/llvm-project?rev=186768&view=rev
Log:
Undisable a test for a c++98-compat warning for inheriting constructors now 
that we implement them.

Modified:
    cfe/trunk/test/SemaCXX/cxx98-compat.cpp

Modified: cfe/trunk/test/SemaCXX/cxx98-compat.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/cxx98-compat.cpp?rev=186768&r1=186767&r2=186768&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/cxx98-compat.cpp (original)
+++ cfe/trunk/test/SemaCXX/cxx98-compat.cpp Sat Jul 20 14:22:08 2013
@@ -147,16 +147,12 @@ bool no_except_expr = noexcept(1 + 1); /
 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();


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to