mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
16 lines
230 B
D
16 lines
230 B
D
// REQUIRED_ARGS: -de
|
|
|
|
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/deprecate12979a.d(12): Error: `asm` statement is assumed to throw - mark it with `nothrow` if it does not
|
|
---
|
|
*/
|
|
|
|
void foo() nothrow
|
|
{
|
|
asm
|
|
{
|
|
ret;
|
|
}
|
|
}
|