aboutsummaryrefslogtreecommitdiff
path: root/test/SemaCXX/new-delete.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/new-delete.cpp')
-rw-r--r--test/SemaCXX/new-delete.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaCXX/new-delete.cpp b/test/SemaCXX/new-delete.cpp
index bc385ee607..fec3e2034a 100644
--- a/test/SemaCXX/new-delete.cpp
+++ b/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 *'}}
};