]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/30_threads/condition_variable/cons/copy_neg.cc
* decl2.c (mark_used): Adjust error for use of deleted function.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 30_threads / condition_variable / cons / copy_neg.cc
index 5765351554e1bcdf40147698ebde6f25aa82882d..588e4f3c9540c4c28d35c059e7e20dc6717649fe 100644 (file)
@@ -27,8 +27,7 @@ void test01()
 {
   // copy
   std::condition_variable c1;
-  std::condition_variable c2(c1);
+  std::condition_variable c2(c1); // { dg-error "deleted" }
 }
 
-// { dg-error "used here" "" { target *-*-* } 30 }
-// { dg-error "deleted function" "" { target *-*-* } 69 }
+// { dg-prune-output "include" }