Sign in
gnu
/
gcc.git
/
refs/heads/trunk
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
zerosize.d
blob: 7986c92c7f8075fd183f4f3a11da9931bdd3d41f [
file
] [
log
] [
blame
]
extern
(
C
)
struct
S
{
}
version
(
CRuntime_Microsoft
)
static
assert
(
S
.
sizeof
==
4
);
else
static
assert
(
S
.
sizeof
==
0
);
static
assert
(
S
.
alignof
==
1
);
extern
(
C
++)
struct
T
{
}
static
assert
(
T
.
sizeof
==
1
);
static
assert
(
T
.
alignof
==
1
);