diff options
Diffstat (limited to 'clang/test/SemaCXX/new-delete.cpp')
-rw-r--r-- | clang/test/SemaCXX/new-delete.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaCXX/new-delete.cpp b/clang/test/SemaCXX/new-delete.cpp index bc385ee6078..fec3e2034af 100644 --- a/clang/test/SemaCXX/new-delete.cpp +++ b/clang/test/SemaCXX/new-delete.cpp @@ -140,9 +140,9 @@ public: class Base { public: - static int operator new(unsigned size) throw(); // expected-error {{'operator new' takes type size_t}} \ + static int operator new(signed char) throw(); // expected-error {{'operator new' takes type size_t}} \ // expected-error {{operator new' must return type 'void *'}} - static int operator new[] (unsigned size) throw(); // expected-error {{'operator new[]' takes type size_t}} \ + static int operator new[] (signed char) throw(); // expected-error {{'operator new[]' takes type size_t}} \ // expected-error {{operator new[]' must return type 'void *'}} }; |