OSDN Git Service

PR c++/48261
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / incomplete2.C
index 23d393e..d86ea06 100644 (file)
@@ -3,11 +3,12 @@
 
 struct A;
 
-template<A&> void foo();
+template<A&> void foo();       // { dg-message "note" }
 
 A a;  // { dg-error "incomplete type" }
 
 void bar()
 {
   foo<a>();  // { dg-error "no matching function" }
+  // { dg-message "candidate" "candidate note" { target *-*-* } 12 }
 }