☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.dg
/
asm2.d
☽
☼
gcc/testsuite/gdc.dg/asm2.d
code
plain
raw
1
// { dg-do compile }
2
module asm2;
3
4
void test()
5
{
6
asm const shared { } // { dg-error "'const'/'immutable'/'shared'/'inout' attributes are not allowed on 'asm' blocks" }
7
}
8