summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2013-02-12 08:59:01 +0000
committerNick Lewycky <nicholas@mxc.ca>2013-02-12 08:59:01 +0000
commit94477cb084904dbd8a9a3c2e752eaecc07cd4ec3 (patch)
treeba16e9417464fbe1ea74ee3e21959356e2eaf9dc
parent0dc08915d2178be6d265ebc98d01edf8c46e9ab8 (diff)
downloadbcm5719-llvm-94477cb084904dbd8a9a3c2e752eaecc07cd4ec3.tar.gz
bcm5719-llvm-94477cb084904dbd8a9a3c2e752eaecc07cd4ec3.zip
Attempt to fix this test on i686 targets.
llvm-svn: 174953
-rw-r--r--clang/test/SemaCXX/attr-deprecated.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/attr-deprecated.cpp b/clang/test/SemaCXX/attr-deprecated.cpp
index 2d730a8eed3..d09faf34d7a 100644
--- a/clang/test/SemaCXX/attr-deprecated.cpp
+++ b/clang/test/SemaCXX/attr-deprecated.cpp
@@ -236,7 +236,7 @@ namespace test6 {
namespace test7 {
struct X {
- void* operator new(unsigned long) __attribute__((deprecated)); // expected-note{{'operator new' declared here}}
+ void* operator new(typeof(sizeof(void*))) __attribute__((deprecated)); // expected-note{{'operator new' declared here}}
void operator delete(void *) __attribute__((deprecated)); // expected-note{{'operator delete' declared here}}
};
OpenPOWER on IntegriCloud