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

--- Comment #3 from FeepingCreature <default_357-l...@yahoo.de> ---
Correction, sorry; didn't pay attention and accidentally pasted a working
version. This one properly linker errors:

```
void early()() { auto var = Struct!()(0); }

struct Struct() { this(int) { } void fun() { error; } }

void main() {
    void helper()() { early!(); }

    static assert(!__traits(compiles, helper()));
    helper();
}
```

--

Reply via email to