[cfe-commits] r86888 - /cfe/trunk/test/SemaCXX/new-delete.cpp
Fariborz Jahanian
fjahanian at apple.com
Wed Nov 11 14:45:41 PST 2009
Author: fjahanian
Date: Wed Nov 11 16:45:41 2009
New Revision: 86888
URL: http://llvm.org/viewvc/llvm-project?rev=86888&view=rev
Log:
Make test more platform independent (per Sebastian's comment).
Modified:
cfe/trunk/test/SemaCXX/new-delete.cpp
Modified: cfe/trunk/test/SemaCXX/new-delete.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/new-delete.cpp?rev=86888&r1=86887&r2=86888&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/new-delete.cpp (original)
+++ cfe/trunk/test/SemaCXX/new-delete.cpp Wed Nov 11 16:45:41 2009
@@ -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 *'}}
};
More information about the cfe-commits
mailing list