repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[PATCH v2 2/3] RISC-V: setmem for RISCV with V extension
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
DRs
/
dr2543.C
blob
87512d30455b45528abef6964716d25705133652
1
// CWG 2543
2
// { dg-do compile { target c++20 } }
3
4
float f;
5
constinit int * pi = (int*) &f; // { dg-error "constant" } reinterpret_cast, not constant-initialized