[PATCH v2 2/3] RISC-V: setmem for RISCV with V extension
[official-gcc.git] / gcc / testsuite / g++.dg / DRs / dr2543.C
blob87512d30455b45528abef6964716d25705133652
1 // CWG 2543
2 // { dg-do compile { target c++20 } }
4 float f;
5 constinit int * pi = (int*) &f; // { dg-error "constant" } reinterpret_cast, not constant-initialized