Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
vt-34919.C
blob: 5b106e187cf662ff2f28b047c597e75e58f8864b [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
template
<
int
...
N
>
struct
A
{
static
void
foo
()
{
int
i
=
N
;
// { dg-error "not expanded|N" }
}
};
void
bar
()
{
A
<
0
>::
foo
();
}