[Issue 13673] ICE(backend/cod2.d 5114) Destructor and templated function

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Nov 2 18:23:51 PST 2014


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

--- Comment #1 from sinkuupump at gmail.com ---
Please ignore my comment #0. It wasn't reduced well, template is unrelated.

```
struct File
{
    string _name;
    ~this() {}
}

string name;

void test()
{
    File(name);
    File(name);
}

void main()
{
    test();
}
```

--


More information about the Digitalmars-d-bugs mailing list