Make test more platform independent (per Sebastian's comment).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86888 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaCXX/new-delete.cpp b/test/SemaCXX/new-delete.cpp
index bc385ee..fec3e20 100644
--- a/test/SemaCXX/new-delete.cpp
+++ b/test/SemaCXX/new-delete.cpp
@@ -140,9 +140,9 @@
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 *'}}
};