Mercurial > projects > ldc
comparison tests/testincludes/object.di @ 368:ca401c18c24e trunk
[svn r389] Include std.outofmemory in testincludes.
Fixes run/OutOfMemory_01, 02.
author | ChristianK |
---|---|
date | Tue, 15 Jul 2008 08:20:21 +0200 |
parents | 1aaf6ff7f685 |
children | f2b608012699 |
comparison
equal
deleted
inserted
replaced
367:519adb3128b1 | 368:ca401c18c24e |
---|---|
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 alias char[] string; | 8 import std.compat; |
9 alias wchar[] wstring; | |
10 alias dchar[] dstring; | |
11 alias Exception Error; | |
12 | 9 |
13 alias typeof(int.sizeof) size_t; | 10 alias typeof(int.sizeof) size_t; |
14 alias typeof(cast(void*)0 - cast(void*)0) ptrdiff_t; | 11 alias typeof(cast(void*)0 - cast(void*)0) ptrdiff_t; |
15 | 12 |
16 alias size_t hash_t; | 13 alias size_t hash_t; |