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

--- Comment #0 from Brad Roberts <> 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:
------- You are receiving this mail because: -------

Reply via email to