blob: 914c3c64819312bcd37013676f5337319db3d03f [file] [log] [blame]
// PR c++/27559
// { dg-do compile }
struct A
{
template<typename T>
static void* operator new(T) {} // { dg-error "invalid template" }
// { dg-error "18:.operator new. takes type .size_t." "first" { target *-*-* } .-1 }
};