Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
isreturnonstack.d
blob: 8bdb97de13f295a10ea560a657b4d51075b0f8ee [
file
] [
log
] [
blame
]
struct
S
{
int
[
10
]
a
;
}
int
test1
();
S test2
();
static
assert
(
__traits
(
isReturnOnStack
,
test1
)
==
false
);
static
assert
(
__traits
(
isReturnOnStack
,
test2
)
==
true
);