2 // { dg-options "-Wall -Wdeprecated -Werror" }
7 asm { } // { dg-error "'asm' statement is assumed to throw - mark it with 'nothrow' if it does not" }
12 asm { } // { dg-error "'asm' statement is assumed to be impure - mark it with 'pure' if it is not" }
17 asm { } // { dg-error "'asm' statement is assumed to use the GC - mark it with '@nogc' if it does not" }
22 asm { } // { dg-error "'asm' statement is assumed to be '@system' - mark it with '@trusted' if it is not" }