mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-23 16:23:14 +01:00
Added initial support for CatExp aka 'a ~ b' Fixed global constant static arrays initialized with string literals Fixed casting any dynamic array to void* Fixed new expression with temporary storage Fixed alias declarations in function scope Fixed relational comparisons of pointers
11 lines
139 B
D
11 lines
139 B
D
module typeinfo5;
|
|
|
|
void main()
|
|
{
|
|
enum E : uint {
|
|
A,B,C
|
|
}
|
|
auto ti = typeid(E);
|
|
assert(ti.next() is typeid(uint));
|
|
}
|