Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
dip22.d
blob: 5c0201a070f050b38e21ecfc2d359cc4184c3acd [
file
] [
log
] [
blame
]
// REQUIRED_ARGS: -de
import
imports
.
dip22
;
class
Foo
:
Base1
,
Base2
{
void
test
()
{
static
assert
(
typeof
(
bar
()).
sizeof
==
2
);
static
assert
(
baz
==
2
);
static
assert
(
T
.
sizeof
==
2
);
}
}
void
test
()
{
bar
(
12
);
baz
(
12
);
12.bar
();
12.baz
();
}