Mercurial > projects > ldc
comparison tests/testincludes/object.di @ 371:f2b608012699 trunk
[svn r392] Make import of std.compat in object.di used for testing public.
author | ChristianK |
---|---|
date | Tue, 15 Jul 2008 10:56:16 +0200 |
parents | ca401c18c24e |
children | 4100c49b753f |
comparison
equal
deleted
inserted
replaced
370:051ab876fe11 | 371:f2b608012699 |
---|---|
3 // This is because dstress expects phobos, which provides | 3 // This is because dstress expects phobos, which provides |
4 // these aliases. | 4 // these aliases. |
5 | 5 |
6 module object; | 6 module object; |
7 | 7 |
8 import std.compat; | 8 public import std.compat; |
9 | 9 |
10 alias typeof(int.sizeof) size_t; | 10 alias typeof(int.sizeof) size_t; |
11 alias typeof(cast(void*)0 - cast(void*)0) ptrdiff_t; | 11 alias typeof(cast(void*)0 - cast(void*)0) ptrdiff_t; |
12 | 12 |
13 alias size_t hash_t; | 13 alias size_t hash_t; |