Sign in
gnu
/
gcc
/
refs/tags/releases/gcc-4.6.0
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr31431-2.C
blob: 15efbc5d35973312082f4f2b279f910f9a25e437 [
file
] [
log
] [
blame
]
// { 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 }
}