aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/pr31431.C
blob: 428673d1807d3bc275f0123e9432a7801448bb85 (plain)
1
2
3
4
5
6
7
8
// { dg-do compile { target c++11 } }
template<typename..., typename> void foo(); // { dg-message "note" }

void bar()
{
  foo<int>(); // { dg-error "no matching function" }
  // { dg-message "(candidate|deduce template parameter)" "candidate note" { target *-*-* } 6 }
}