"Fossies" - the Fresh Open Source Software Archive

Member "ldc-1.7.0-src/tests/d2/dmd-testsuite/runnable/imports/a19a.d" (5 Jan 2018, 168 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.a19a;
    2 
    3 struct Dummy
    4 {
    5 }
    6 
    7 struct TemplatedStruct(Param)
    8 {
    9         static real fgh = 0;
   10 }
   11 
   12 void foo()
   13 {
   14         alias TemplatedStruct!(Dummy) X;        
   15 }