blob: 69510e61becdda2d60f9fd4c39f2084cae6b42cf [file] [log] [blame]
// { dg-do compile { target c++11 } }
template<class T>
T&& create();
template<class T, class... Args>
void test() {
T t(create<Args>()...); // { dg-error "incomplete" }
(void) t;
}
int main() {
test<int[]>();
}