brintos

brintos / llvm-project-archived public Read only

0
0
Text · 461 B · 42a80d3 Raw
11 lines · cpp
1// RUN: %clang_cc1 -std=c++1z %s -verify -triple x86_64-linux-gnu -DALIGN=162// RUN: %clang_cc1 -std=c++1z %s -verify -fnew-alignment=2 -DALIGN=23// RUN: %clang_cc1 -std=c++1z %s -verify -fnew-alignment=256 -DALIGN=2564// RUN: %clang_cc1 -std=c++1z %s -verify -triple wasm32-unknown-unknown -fnew-alignment=256 -DALIGN=2565 6// expected-no-diagnostics7 8#if ALIGN != __STDCPP_DEFAULT_NEW_ALIGNMENT__9#error wrong value for __STDCPP_DEFAULT_NEW_ALIGNMENT__10#endif11