Bug 15698 – Compiler crash with unusual function call expression
Status
RESOLVED
Resolution
DUPLICATE
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2016-02-18T06:26:00Z
Last change time
2016-03-24T14:04:12Z
Keywords
ice
Assigned to
nobody
Creator
briancschott
Comments
Comment #0 by briancschott — 2016-02-18T06:26:45Z
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)(); }
Comment #1 by jbc.engelen — 2016-03-11T18:20:00Z
It doesn't crash for me, but errors with:
Error: undefined identifier 'B'
Error: function expected before (), not true of type bool
DMD64 D Compiler v2.070-devel-204253b
OS X El Capitan
x86-64
no commandline flags
Comment #2 by k.hara.pg — 2016-03-24T14:04:12Z
*** This issue has been marked as a duplicate of issue 15688 ***