Sign in
gnu
/
gcc
/
refs/tags/releases/gcc-4.6.0
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr31431.C
blob: 36f341f3d02ed4121822aacc07e714eaba60f515 [
file
] [
log
] [
blame
]
// { dg-options "-std=gnu++0x" }
template
<
typename
...,
typename
>
void
foo
();
// { dg-message "note" }
void
bar
()
{
foo
<int>
();
// { dg-error "no matching function" }
// { dg-message "candidate" "candidate note" { target *-*-* } 6 }
}