aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/pr31431-2.C
blob: 6d8f565e3fe762a5d053b09cba399223e36fb778 (plain)
1
2
3
4
5
6
7
8
// { dg-do compile { target c++11 } }
template<typename, 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 }
}