blob: 6d12331d000d59f1dcee2f35fa02c9e036ae584c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// { dg-options "-std=c++0x" }
template<class T>
T&& create();
template<class T, class... Args>
void test() {
T t(create<Args>()...); // { dg-error "unknown bound" }
(void) t;
}
int main() {
test<int[]>();
}
|