Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr32253.C
blob: bfb11e42d8f694a529949935f0b87e677de0e662 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
template
<
void
(*...
fp
)()>
struct
A
{
A
()
{
fp
();
}
// { dg-error "11:parameter packs not expanded|fp" }
};
void
foo
();
A
<foo>
a
;