]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gdc.test/compilable/test11471.d
Add D front-end, libphobos library, and D2 testsuite.
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / compilable / test11471.d
1 // REQUIRED_ARGS: -profile
2
3 void main() nothrow
4 {
5 // Error: asm statements are assumed to throw
6 version(GNU)
7 asm { ""; }
8 else
9 asm { nop; }
10 }