[Issue 14361] New: DMD should compile SDC test0158.d
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Mar 28 09:53:11 PDT 2015
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 at puremagic.com
Reporter: shammah.chancellor at 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;
```
--
More information about the Digitalmars-d-bugs
mailing list