digitalmars.D.bugs - [Issue 14361] New: DMD should compile SDC test0158.d
- via Digitalmars-d-bugs (35/36) Mar 28 2015 https://issues.dlang.org/show_bug.cgi?id=14361
https://issues.dlang.org/show_bug.cgi?id=14361 Issue ID: 14361 Summary: DMD should compile SDC test0158.d Product: D Version: unspecified Hardware: x86 OS: Mac OS X Status: NEW Severity: normal Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: shammah.chancellor gmail.com ```dmd test0158.dtest0158.d(7): Error: basic type expected, not 42 test0158.d(7): Error: semicolon expected to close alias declaration test0158.d(7): Error: declaration expected, not '42' ``` ```test0158.d //T compiles:yes //T has-passed:yes //T retval:42 // alias of type and values alias b = a; alias c = 42; alias d = c; alias e = b; b main() { a b = c; e f = b; return f; } alias a = uint; ``` --
Mar 28 2015