www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14361] New: DMD should compile SDC test0158.d


          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.d
test0158.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