summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/pr31431-2.C
blob: 15efbc5d35973312082f4f2b279f910f9a25e437 (plain)
1
2
3
4
5
6
7
8
// { dg-options "-std=gnu++0x" }
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 }
}