noexcept15.C: Adjust for Rev 186726 library changes.
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 23 Apr 2012 23:55:42 +0000 (23:55 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 23 Apr 2012 23:55:42 +0000 (23:55 +0000)
2012-04-23  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/cpp0x/noexcept15.C: Adjust for Rev 186726 library changes.

From-SVN: r186730

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/noexcept15.C

index abda7a8..8ef2843 100644 (file)
@@ -1,3 +1,7 @@
+2012-04-23  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * g++.dg/cpp0x/noexcept15.C: Adjust for Rev 186726 library changes.
+
 2012-04-23  Andrew Pinski  <apinski@cavium.com>
 
        * gcc.dg/tree-ssa/forwprop-17.c: New testcase.
index 5e8c40c..c735b9e 100644 (file)
@@ -11,7 +11,7 @@ template<class Tp>
     constexpr single(const Tp& e)
     : elem(e) { }   // { dg-error "invalid field" }
 
-    single(single&& s) // { dg-error "not a member" }
+    single(single&& s)
     noexcept(std::is_nothrow_move_constructible<Tp>::value) 
     : elem(s.elem) { } // { dg-error "invalid field|no member" }
   };