error46.C: Add missing comment to dg-message.
authorJanis Johnson <janisjo@codesourcery.com>
Fri, 29 Jun 2012 03:56:08 +0000 (03:56 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Fri, 29 Jun 2012 03:56:08 +0000 (03:56 +0000)
* g++.dg/template/error46.C: Add missing comment to dg-message.
* g++.dg/template/crash107.C: Likewise.
* g++.dg/template/error47.C: Likewise.
* g++.dg/template/crash108.C: Likewise.
* g++.dg/overload/operator5.C: Likewise.

From-SVN: r189062

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/overload/operator5.C
gcc/testsuite/g++.dg/template/crash107.C
gcc/testsuite/g++.dg/template/crash108.C
gcc/testsuite/g++.dg/template/error46.C
gcc/testsuite/g++.dg/template/error47.C

index a04e28849c08c8fec861eb1f4653d86620cfe7ad..62966366855ddfdfe01fb33ee3ef3d22784459aa 100644 (file)
@@ -1,5 +1,11 @@
 2012-06-28  Janis Johnson  <janisjo@codesourcery.com>
 
+       * g++.dg/template/error46.C: Add missing comment to dg-message.
+       * g++.dg/template/crash107.C: Likewise.
+       * g++.dg/template/error47.C: Likewise.
+       * g++.dg/template/crash108.C: Likewise.
+       * g++.dg/overload/operator5.C: Likewise.
+
        * gcc.dg/Wstrict-aliasing-converted-assigned.c: Fix syntax
        errors in dg-message directives, add comments.
 
index 574defb891b294f71e745f6f5080497475947c9e..6e7703b9ccf96e411712bb8db69d136e9c268d5d 100644 (file)
@@ -13,4 +13,4 @@ inline bool equalPossiblyIgnoringCase(const String& a,
                                       const String& b,
                                       bool ignoreCase) {
   return ignoreCase ? equalIgnoringCase(a, b) : (a == b); } // { dg-error "ambiguous" }
-// { dg-message "note" { target *-*-* } 15 }
+// { dg-message "note" "note" { target *-*-* } 15 }
index cd64c37d71f754b1e793f898a1fd8b3ebd6fcef3..bb405ac7eef948772363bcd1550f990085ff3ffc 100644 (file)
@@ -14,7 +14,7 @@ template<typename FP_> struct Vec { // { dg-message "note" }
     }
 };
 Vec<double> v(3,4,12); // { dg-error "no matching" }
-// { dg-message "note" { target *-*-* } 16 }
+// { dg-message "note" "note" { target *-*-* } 16 }
 Vec<double> V(12,4,3);  // { dg-error "no matching" }
-// { dg-message "note" { target *-*-* } 18 }
+// { dg-message "note" "note" { target *-*-* } 18 }
 Vec<double> c = v^V;   // { dg-message "required" }
index 0b25fde6e380d6019917dd745d6e10f229522a3a..408d36a94560102f982bf0c4ec2f125209e04872 100644 (file)
@@ -2,4 +2,4 @@
 
 template<class T> struct A {A(int b=k(0));}; // { dg-error "arguments" }
 void f(int k){A<int> a;} // // { dg-error "parameter|declared" }
-// { dg-message "note" { target *-*-* } 3 }
+// { dg-message "note" "note" { target *-*-* } 3 }
index 0f4bdafb8a48a21d8075aff3c14e8eb7e99616a7..6cb085a182cfac40d61f25e9dd5efd1a1bf1a34a 100644 (file)
@@ -8,4 +8,4 @@ void bar()
 {
   foo(A<0>(), A<1>()); // { dg-error "no matching" }
 }
-// { dg-message "candidate|parameter 'N' ('0' and '1')" { target *-*-* } 9 }
+// { dg-message "candidate|parameter 'N' ('0' and '1')" "" { target *-*-* } 9 }
index 7e360fe69a88e2ed61618342d4759ba2c9ccf5be..74a598922944c55838677ca468b5b28339a7130d 100644 (file)
@@ -6,4 +6,4 @@ void bar(void* p)
 {
   foo(0, p); // { dg-error "no matching" }
 }
-// { dg-message "candidate|parameter 'T' ('int' and 'void*')" { target *-*-* } 7 }
+// { dg-message "candidate|parameter 'T' ('int' and 'void*')" "" { target *-*-* } 7 }