Sign in
gnu
/
gcc
/
71f3036b8a83da7fb559923bc80687ea1dabe14a
/
.
/
libphobos
/
testsuite
/
libphobos.typeinfo
/
struct-align.d
blob: 54eaaa6ff5aed94132bdf83617ece4257e19e1c4 [
file
] [
log
] [
blame
]
module
structalign
;
void
main
()
{
struct
K
{
int
*
a
;
}
K k
;
auto
ti
=
typeid
(
k
);
assert
(
ti
.
flags
()
==
1
);
auto
ti2
=
typeid
(
k
.
a
);
assert
(
ti
.
talign
()
==
ti2
.
talign
());
}