1 // { dg-do compile { target c++11 } }
2 template<typename... T> int foo(const T&) // { dg-error "not expanded with|T" }
4 union { T t; }; // { dg-error "not expanded with|T" }
10 foo(0); // { dg-error "no matching" }
11 // { dg-message "(candidate|cannot convert)" "candidate note" { target *-*-* } 10 }