Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test11656.d
blob: 226144f66f941549198b9975be5a8db38228cc4c [
file
] [
log
] [
blame
]
static
if
(
__traits
(
compiles
,
__vector
(
float
[
4
])))
{
struct
Foo
{
__vector
(
float
[
4
])
x
;
}
static
assert
(
Foo
.
x
.
offsetof
==
0
);
static
assert
(
Foo
.
x
.
stringof
==
"x"
);
}