d: Merge upstream dmd, druntime 4c18eed967, phobos d945686a4.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / ice13131.d
blobd4a6b91c0c2f12d55c6e06cf15834a9bd9b7fb87
1 // EXTRA_SOURCES: imports/a13131parameters.d imports/a13131elec.d
2 // EXTRA_FILES: imports/a13131checkpoint.d
3 /*
4 TEST_OUTPUT:
5 ---
6 +A
7 +B
8 fail_compilation/imports/a13131elec.d(10): Error: template instance `elecConnOf!gconn` template `elecConnOf` is not defined
9 -B
11 ---
14 void main()
16 struct Connectivity {}
17 auto L = Connectivity();
19 import imports.a13131elec; // [1] import
20 L.initElec;