Debian Codegraph @

gcc/testsuite/gdc.test/fail_compilation/diag10169.d

raw
1 /*
2 EXTRA_FILES: imports/a10169.d
3 TEST_OUTPUT:
4 ---
5 fail_compilation/diag10169.d(13): Error: no property `x` for `B(0)` of type `imports.a10169.B`
6 fail_compilation/imports/a10169.d(3): struct `B` defined here
7 ---
8 */
9 import imports.a10169;
10
11 void main()
12 {
13 auto a = B.init.x;
14 }