blob: 956a08b058d28d9399bc240de0933cb2f2488371 [file] [log] [blame]
// { dg-options "-std=gnu++0x" }
template <typename... T> struct A // { dg-message "candidates|A" }
{
A(T* p) { // { dg-error "parameter packs|T" }
(A<T...>*)(p);
}
};
A<int> a(0); // { dg-error "no matching" }
// { dg-message "candidate" "candidate note" { target *-*-* } 9 }