mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-09-22 21:30:18 +02:00
[svn r96] Updated to DMD 1.023.
Regular bugfixes.
This commit is contained in:
+4
-25
@@ -1,26 +1,5 @@
|
||||
module bug51;
|
||||
|
||||
import std.stdint;
|
||||
|
||||
union in6_addr
|
||||
{
|
||||
private union _in6_u_t
|
||||
{
|
||||
uint8_t[16] u6_addr8;
|
||||
uint16_t[8] u6_addr16;
|
||||
uint32_t[4] u6_addr32;
|
||||
}
|
||||
_in6_u_t in6_u;
|
||||
|
||||
uint8_t[16] s6_addr8;
|
||||
uint16_t[8] s6_addr16;
|
||||
uint32_t[4] s6_addr32;
|
||||
}
|
||||
|
||||
|
||||
const in6_addr IN6ADDR_ANY = { s6_addr8: [0] };
|
||||
const in6_addr IN6ADDR_LOOPBACK = { s6_addr8: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1] };
|
||||
|
||||
void main()
|
||||
{
|
||||
}
|
||||
const ubyte[3] arr1 = 0;
|
||||
const ubyte[3] arr2 = [0];
|
||||
const ubyte[3] arr3 = [0:1];
|
||||
void main() {}
|
||||
|
||||
Reference in New Issue
Block a user