Sign in
llvm
/
llvm-archive
/
f8b4f79771a41ee0a0f02ac90619d37ccd834915
/
.
/
clang-tests
/
gcc-4_2-testsuite
/
src
/
gcc.c-torture
/
execute
/
zerolen-2.c
blob: 446e5828362dfdd613a9fc10c0b3f680aa035316 [
file
] [
log
] [
blame
]
extern
void
abort
(
void
);
typedef
int
word __attribute__
((
mode
(
word
)));
struct
foo
{
word x
;
word y
[
0
];
};
int
main
()
{
if
(
sizeof
(
word
)
!=
sizeof
(
struct
foo
))
abort
();
if
(
__alignof__
(
word
)
!=
__alignof__
(
struct
foo
))
abort
();
return
0
;
}