]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gdc.test/fail_compilation/deprecate12979b.d
Add D front-end, libphobos library, and D2 testsuite.
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / fail_compilation / deprecate12979b.d
1 // REQUIRED_ARGS: -de
2 // PERMUTE_ARGS:
3
4 /*
5 TEST_OUTPUT:
6 ---
7 fail_compilation/deprecate12979b.d(13): Deprecation: asm statement is assumed to be impure - mark it with 'pure' if it is not
8 ---
9 */
10
11 void foo() pure
12 {
13 asm
14 {
15 ret;
16 }
17 }