Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
alignment.d
blob: c5cc394866f465c2b7764d0698f78e20a6a1793f [
file
] [
log
] [
blame
]
/* Test alignment of stack variables.
*
* This test should be moved to "runnable" once DMD implements alignment of stack variables.
*/
void
main
()
{
byte
dummy
;
align
(
32
)
int
align32
;
assert
((
cast
(
size_t
)&
align32
&
cast
(
size_t
)
0b11111
)
==
0
);
}