mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
20 lines
326 B
D
20 lines
326 B
D
/***********************************************/
|
|
|
|
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/test12979.d(304): Error: `const`/`immutable`/`shared`/`inout` attributes are not allowed on `asm` blocks
|
|
---
|
|
*/
|
|
|
|
// https://issues.dlang.org/show_bug.cgi?id=12979
|
|
|
|
#line 300
|
|
|
|
void test3()
|
|
{
|
|
asm const shared
|
|
{
|
|
ret;
|
|
}
|
|
}
|