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

Dennis <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
           Severity|enhancement                 |normal

--- Comment #6 from Dennis <[email protected]> ---
(In reply to RazvanN from comment #5)
> but if that situation arises the programmer can manually add extern(C).

But extern(C) *is* manually added. This is the buggy part:
```
extern(C):
unittest
{
    extern(C) void baz() {}
    pragma(msg, "typeof(baz): ", typeof(baz));
}
```

`baz` is not `extern(C)` like this, but either *removing* `extern(C):` or
changing the unittest to a regular function will make `baz` `extern(C)`.

--

Reply via email to