MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / issue21378.d
blob172110a0ab0cb8b4f947946465e6171140abfb43
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/issue21378.d(13): Error: function `issue21378.fn` circular dependency. Functions cannot be interpreted while being compiled
5 fail_compilation/issue21378.d(12): called from here: `fn()`
6 fail_compilation/issue21378.d(12): Error: pragma(`inline`, `true` or `false`) expected, not `fn()`
7 ---
8 */
10 // Cannot call the same function linked to the pragma
11 // Really hard to fix this limitation in the implementation
12 pragma(inline, fn())
13 int fn()
15 return 1;