Summary: dmd crashes by the use of template with -g compiler
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: critical
          Priority: P5
         Component: DMD

--- Comment #0 from SHOO <> 2010-12-11 05:07:40 PST ---
This code crashes dmd at trunk(r795):
module main;
import std.typecons;

struct S(E)
    immutable E x; // Workaround: Remove immutable.
enum A{a,b,c}          // Workaround: alias int A;
alias Tuple!(A) TA;    // Workaround: Remove this line.
alias S!(A) SA;        // Workaround: Exchange of declaration order with TA.

void main()

$ dmd -g -run main
(dmd crashes!)

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to