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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
c23-tag-9.c
blob
1d32560ec2375d35d57b470d7fa0f191aa396912
1
/* { dg-do compile } */
2
/* { dg-options "-std=c23" } */
3
4
struct
foo
{
int
x
; }
x
;
5
struct
foo
{
alignas
(
128
)
int
x
; }
y
;
/* { dg-error "redefinition" } */
6
static_assert
(
alignof
(
y
) ==
128
);
7
8