summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/new-delete.cpp
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
commitc3091c91187c590b13acf6d1a767a627590bc3e6 (patch)
tree427ec5c0f543375cac3b5d7f26afe728c325cf09 /clang/test/SemaCXX/new-delete.cpp
parent13e0c90fc1a99bd34969229675bc2e4d6eef0501 (diff)
downloadbcm5719-llvm-c3091c91187c590b13acf6d1a767a627590bc3e6.tar.gz
bcm5719-llvm-c3091c91187c590b13acf6d1a767a627590bc3e6.zip
Make test more platform independent (per Sebastian's comment).
llvm-svn: 86888
Diffstat (limited to 'clang/test/SemaCXX/new-delete.cpp')
-rw-r--r--clang/test/SemaCXX/new-delete.cpp4
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 *'}}
};
OpenPOWER on IntegriCloud