"Fossies" - the Fresh Open Source Software Archive

Member "ldc-1.7.0-src/tests/d2/dmd-testsuite/fail_compilation/imports/a13131elec.d" (5 Jan 2018, 247 Bytes) of package /linux/misc/ldc-1.7.0-src.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) D source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 module imports.a13131elec;
    2 
    3 import imports.a13131checkpoint;        // [2] import
    4 
    5 void initElec(T)(T L)
    6 {
    7     immutable cv = econn.velocities;    // econn is invalid so generates ErrorExp
    8 }
    9 
   10 alias econn = elecConnOf!gconn; // invalid declaration