Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
ice12673.d
blob: fb49e8e648c1fffda6b3fade32f90b88c7f7dc57 [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/ice12673.d(13): Error: static assert: `__traits(compiles, () pure nothrow @nogc @safe
{
__error__
}
)` is false
---
*/
void
main
()
{
static
assert
(
__traits
(
compiles
,
{
abcd
();
}));
}