diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-03-18 00:30:09 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-03-18 00:30:09 +0000 |
commit | 6a70c6420f419d0bf20a3eae28c0cfd94623d4e3 (patch) | |
tree | 9abc4bc0bcb05fc136141b324919f1703b856bea /clang | |
parent | 9a6f9a4c68ac1814e4938a27222de07c62f9ba90 (diff) | |
download | bcm5719-llvm-6a70c6420f419d0bf20a3eae28c0cfd94623d4e3.tar.gz bcm5719-llvm-6a70c6420f419d0bf20a3eae28c0cfd94623d4e3.zip |
Remove 'REQUIRES: LP64' from these tests and use a more targeted fix.
llvm-svn: 204096
Diffstat (limited to 'clang')
-rw-r--r-- | clang/test/CXX/drs/dr412.cpp | 4 | ||||
-rw-r--r-- | clang/test/CXX/drs/dr4xx.cpp | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/clang/test/CXX/drs/dr412.cpp b/clang/test/CXX/drs/dr412.cpp index ca794997805..cb33e206a63 100644 --- a/clang/test/CXX/drs/dr412.cpp +++ b/clang/test/CXX/drs/dr412.cpp @@ -6,8 +6,8 @@ // lwg404: yes // lwg2340: yes -// REQUIRES: LP64 -typedef __SIZE_TYPE__ size_t; +// FIXME: __SIZE_TYPE__ expands to 'long long' on some targets. +__extension__ typedef __SIZE_TYPE__ size_t; namespace std { struct bad_alloc {}; } inline void* operator new(size_t) BAD_ALLOC; // expected-error {{cannot be declared 'inline'}} diff --git a/clang/test/CXX/drs/dr4xx.cpp b/clang/test/CXX/drs/dr4xx.cpp index 61dfd18c5f0..a6cfb89b78b 100644 --- a/clang/test/CXX/drs/dr4xx.cpp +++ b/clang/test/CXX/drs/dr4xx.cpp @@ -2,6 +2,9 @@ // RUN: %clang_cc1 -std=c++11 %s -verify -fexceptions -fcxx-exceptions -pedantic-errors // RUN: %clang_cc1 -std=c++1y %s -verify -fexceptions -fcxx-exceptions -pedantic-errors +// FIXME: __SIZE_TYPE__ expands to 'long long' on some targets. +__extension__ typedef __SIZE_TYPE__ size_t; + namespace dr400 { // dr400: yes struct A { int a; struct a {}; }; // expected-note 2{{conflicting}} expected-note {{ambiguous}} struct B { int a; struct a {}; }; // expected-note 2{{target}} expected-note {{ambiguous}} @@ -396,9 +399,7 @@ namespace dr428 { // dr428: yes } namespace dr429 { // dr429: yes c++11 - // REQUIRES: LP64 // FIXME: This rule is obviously intended to apply to C++98 as well. - typedef __SIZE_TYPE__ size_t; struct A { static void *operator new(size_t, size_t); static void operator delete(void*, size_t); |