Debian Codegraph @

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

raw
1 /*
2 EXTRA_FILES: imports/ice21060a/package.d imports/ice21060b/package.d imports/ice21060c/package.d imports/ice21060d/package.d
3 TEST_OUTPUT:
4 ---
5 fail_compilation/imports/ice21060b/package.d(3): Error: struct `imports.ice21060d.P21060` already exists at fail_compilation/imports/ice21060d/package.d(3). Perhaps in another function with the same name?
6 ---
7 */
8 struct S21060
9 {
10 void print()
11 {
12 import imports.ice21060a;
13 import imports.ice21060b;
14 }
15 }