1 2 3 4 5 6 7 8
// { dg-do compile } module asm2; void test() { asm const shared { } // { dg-error "'const'/'immutable'/'shared'/'inout' attributes are not allowed on 'asm' blocks" } }