Debian Codegraph @

gcc/testsuite/gdc.dg/asm2.d

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