mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
14 lines
225 B
D
14 lines
225 B
D
/*
|
|
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(); }));
|
|
}
|