MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / trait_loc_err.d
blobc5d0579f4a055367b0f07a1b8feeef972908303d
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/trait_loc_err.d(13): Error: can only get the location of a symbol, not `trait_loc_err`
5 fail_compilation/trait_loc_err.d(14): Error: can only get the location of a symbol, not `stdc`
6 ---
7 */
8 module trait_loc_err;
9 import core.stdc.stdio;
11 void main()
13 __traits(getLocation, __traits(parent, main));
14 __traits(getLocation, __traits(parent, core.stdc.stdio));