Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
error2.C
blob: e6af294c1803b40a05fbbc9acf44264af8d496c5 [
file
] [
log
] [
blame
]
// PR c++/38656
// { dg-do compile { target c++11 } }
template
<int>
int
foo
();
template
<
typename
F
>
void
bar
(
F f
)
{
f
((
foo
<
0
>()=
0
)...);
// { dg-error "pattern '\\(foo\\<0\\>\\)\\(\\)=0'" }
}