www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15698] New: Compiler crash with unusual function call

https://issues.dlang.org/show_bug.cgi?id=15698

          Issue ID: 15698
           Summary: Compiler crash with unusual function call expression
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Keywords: ice
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: briancschott gmail.com

I wanted to get a test case for a stack overflow caused during template
instantiation. Dustmite gave me this instead. Oh well.

class A{} A foo() { (B, true)(); }

--
Feb 17 2016