http://d.puremagic.com/issues/show_bug.cgi?id=4752

           Summary: fail_compilation/fail345.d asserts in expression.c
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: bra...@puremagic.com


--- Comment #0 from Brad Roberts <bra...@puremagic.com> 2010-08-29 01:26:57 PDT 
---
dmd: expression.c:816: void expToCBuffer(OutBuffer*, HdrGenState*, Expression*,
PREC): Assertion `precedence[e->op] != PREC_zero' failed.

To run the test:
make test_results/fail_compilation/fail345.d.out

The code in the test:
// 3775

struct Bug3775 {    
  static int byLine()()    { return 1;   }
}

static assert( cast(int) Bug3775.byLine);

This test came from bug 3775 comment 2.  The failure mode is new.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to