1 2 3 4 5 6 7
// { dg-options "-std=gnu++0x" } template<typename..., typename> void foo(); // { dg-message "candidate" } void bar() { foo<int>(); // { dg-error "no matching function" } }