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: [email protected]
          Reporter: [email protected]

```
> 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;
```

--

Reply via email to