Mercurial > hg > CbC > CbC_llvm
diff clang/test/Lexer/aligned-allocation.cpp @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line diff
--- a/clang/test/Lexer/aligned-allocation.cpp Mon May 25 11:55:54 2020 +0900 +++ b/clang/test/Lexer/aligned-allocation.cpp Tue Jun 08 06:07:14 2021 +0900 @@ -6,10 +6,19 @@ // // RUN: %clang_cc1 -triple x86_64-apple-macosx10.12.0 -fexceptions -std=c++17 -verify %s \ // RUN: -faligned-allocation -faligned-alloc-unavailable +// +// RUN: %clang_cc1 -triple s390x-none-zos -fexceptions -std=c++17 -verify %s \ +// RUN: -DEXPECT_DEFINED +// +// RUN: %clang_cc1 -triple s390x-none-zos -fexceptions -std=c++17 -verify %s \ +// RUN: -faligned-alloc-unavailable +// +// RUN: %clang_cc1 -triple s390x-none-zos -fexceptions -std=c++17 -verify %s \ +// RUN: -faligned-allocation -faligned-alloc-unavailable // Test that __cpp_aligned_new is not defined when CC1 is passed -// -faligned-alloc-unavailable by the Darwin driver, even when aligned -// allocation is actually enabled. +// -faligned-alloc-unavailable by the Darwin and the z/OS driver, even when +// aligned allocation is actually enabled. // expected-no-diagnostics #ifdef EXPECT_DEFINED