"Fossies" - the Fresh Open Source Software Archive

Member "dmd-2.089.1/test/fail_compilation/diag10169.d" (14 Dec 2019, 196 Bytes) of package /linux/misc/dmd-2.089.1.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. See also the last Fossies "Diffs" side-by-side code changes report for "diag10169.d": 2.086.1_vs_2.087.0.

    1 /*
    3 ---
    4 fail_compilation/diag10169.d(11): Error: no property `x` for type `B`, did you mean `imports.a10169.B.x`?
    5 ---
    6 */
    7 import imports.a10169;
    9 void main()
   10 {
   11     auto a = B.init.x;
   12 }