[Issue 15239] New: ICE (assertion failure) in ctfeInterpret()  — opDispatch & inline asm
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Thu Oct 22 22:55:19 PDT 2015
    
    
  
https://issues.dlang.org/show_bug.cgi?id=15239
          Issue ID: 15239
           Summary: ICE (assertion failure) in ctfeInterpret() —
                    opDispatch & inline asm
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: anoneuron at gmail.com
http://dpaste.dzfl.pl/b8c580346198
Tested in DMD v2.068.2
(in case dpaste is offline:)
Code:
    struct T {
        template opDispatch(string Name, P...) {
            static void opDispatch(P) {};
        };
    };
    void main() {
        asm {
            call T.foo;
        };
    };
Output:
    dmd: interpret.c:731: Expression* ctfeInterpret(Expression*): Assertion
`e->type' failed.
--
    
    
More information about the Digitalmars-d-bugs
mailing list