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
PR target/55146
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
empty1.c
blob
89b2de1e903639f85bf165395b36c42b30f87af3
1
/* { dg-do run } */
2
/* { dg-options "" } */
3
4
struct
S
{
int
:
0
; };
5
union
U
{
int
:
0
; };
6
7
int
main
() {
8
if
(
__alignof__
(
struct
S
) !=
__alignof__
(
union
U
))
9
return
1
;
10
return
0
;
11
}