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

--- Comment #2 from Kenji Hara <[email protected]> ---
Is this correct test case?

// from runnable/testconst.d, generating wrong TypeInfo from 2.065
void test83(/*inout(int) _ = 0*/)
{
    static assert(!__traits(compiles, typeid(inout(int*) function(int))));
}
void main() {}

Command lines in Windows:

$ dmd test.d

$ libunres -l test.obj

BSS
CODE
CONST
DATA
FLAT
FM
FMB
FME
_BSS
_D10TypeInfo_@6__initZ    <----
_D4test6test83FZv
_D6object15__unittest_failFiZv
_D6object7__arrayZ
_D6object8__assertFiZv
_DATA
_TEXT
__Dmain
_main

--

Reply via email to