fix markup
authorJason Merrill <jason@gcc.gnu.org>
Wed, 3 Dec 2008 17:49:15 +0000 (12:49 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 3 Dec 2008 17:49:15 +0000 (12:49 -0500)
From-SVN: r142401

gcc/testsuite/g++.dg/cpp0x/initlist9.C

index 61d87f9..2bc2d17 100644 (file)
@@ -8,7 +8,7 @@ struct b
   b() = default;
   ~b() = default;
   b& operator=(const b&) = delete;
-  b(const b&) = delete;
+  b(const b&) = delete;                // { dg-error "deleted" }
 
   b(bool _t): t (_t) { }
 };
@@ -19,7 +19,7 @@ int main()
   b tst1 = { false };
 
   // copy initialization.
-  b tst2 = false;              // { dg-error "deleted" }
+  b tst2 = false;              // { dg-error "used here" }
 
   // direct list initialization
   b tst3 { false };