diff options
-rw-r--r-- | libcxx/test/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.dtor/dtor.pass.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libcxx/test/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.dtor/dtor.pass.cpp b/libcxx/test/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.dtor/dtor.pass.cpp index cc9a51262a3..93408a804c8 100644 --- a/libcxx/test/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.dtor/dtor.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.dtor/dtor.pass.cpp @@ -19,6 +19,11 @@ unsigned delete_called = 0; +void* operator new[](size_t sz) +{ + return operator new(sz); +} + void operator delete[](void* p) throw() { operator delete(p); |