☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
ice12673.d
☽
☼
gcc/testsuite/gdc.test/fail_compilation/ice12673.d
code
plain
raw
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/ice12673.d(13): Error: static assert: `__traits(compiles, () pure nothrow @nogc @safe
5
{
6
__error__
7
}
8
)` is false
9
---
10
*/
11
void main()
12
{
13
static assert(__traits(compiles, { abcd(); }));
14
}