"Fossies" - the Fresh Open Source Software Archive

Member "ldc-1.10.0-src/tests/d2/dmd-testsuite/fail_compilation/imports/a14407.d" (19 Jun 2018, 276 Bytes) of package /linux/misc/ldc-1.10.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.a14407;
    2 
    3 deprecated class C
    4 {
    5     private deprecated new (size_t, string)
    6     {
    7         return null;
    8     }
    9     private this(int) {}
   10 }
   11 
   12 deprecated struct S
   13 {
   14     private deprecated new (size_t, string)
   15     {
   16         return null;
   17     }
   18     private this(int) {}
   19 }