blob: c098138f8b4ecd2c95fe8aa1a68b0189e674358a [file] [log] [blame]
// { dg-do compile }
// { dg-options "-fgnu-tm" }
void* operator new(__SIZE_TYPE__)
#if __cplusplus <= 201402L
throw (int) // { dg-warning "deprecated" "" { target { c++11 && { ! c++17 } } } }
#endif
;
void *point;
void funky()
{
point = new (int);
}