// PR c++/78649 // { dg-do compile { target c++11 } } template void foo (); template void test () { T t (foo...); // { dg-error "declared void" } } int main () { test (); }