blob: 717994bf6db8d69ecb8183dfbf606f8116af7341 [file] [log] [blame]
// PR c++/52088
struct S
{
template <typename T>
operator T *() { return 0; }
};
int main()
{
S s;
delete s; // { dg-error "ambiguous|template|pointer" }
}