aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-11-11 22:45:41 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-11-11 22:45:41 +0000
commit1f2fcee89677d597f2a10b54d6cefac0e79db504 (patch)
tree9e685486520bddba4ee70e68f3e953d4f84b51ee
parent7ca8b0694840385d707689eba9ad965e7b28c8cb (diff)
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
-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 *'}}
};