blob: 5f7010fe6a128b5e9760a8607f600e4f6a2d0f25 [file] [log] [blame]
// { dg-do compile { target c++11 } }
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 }