blob: 5b106e187cf662ff2f28b047c597e75e58f8864b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// { 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();
}
|