repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic103.C
blob
69510e61becdda2d60f9fd4c39f2084cae6b42cf
1
// { dg-do compile { target c++11 } }
2
3
template<class T>
4
T&& create();
5
6
template<class T, class... Args>
7
void test() {
8
T t(create<Args>()...); // { dg-error "incomplete" }
9
(void) t;
10
}
11
12
int main() {
13
test<int[]>();
14
}