OSDN Git Service

gcc/cp/
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / pr31431-2.C
index 59e1afe..15efbc5 100644 (file)
@@ -1,7 +1,8 @@
 // { dg-options "-std=gnu++0x" }
-template<typename, typename..., typename> void foo(); // { dg-message "candidate" }
+template<typename, typename..., typename> void foo(); // { dg-message "note" }
 
 void bar()
 {
   foo<int>(); // { dg-error "no matching function" }
+  // { dg-message "candidate" "candidate note" { target *-*-* } 6 }
 }