struct foo {} f; typedef unsigned int size_t; void *operator new( size_t, foo ); template struct helper {}; template static void check( helper< sizeof( new(f) T(0) ) > * ); int main() { check(0); }