Mercurial > projects > dstress
comparison run/mini/norun_debug1.d @ 1628:c6ef09dfba4d
add mini test set from ldc project
author | Moritz Warning <moritzwarning@web.de> |
---|---|
date | Mon, 10 Jan 2011 19:47:18 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1627:e1b954780837 | 1628:c6ef09dfba4d |
---|---|
1 module mini.norun_debug1; | |
2 | |
3 void main() | |
4 { | |
5 int* ptr = cast(int*) 1; | |
6 | |
7 // all these should be inspectable | |
8 int i = 1; | |
9 int j = 2; | |
10 long k = 3; | |
11 float l = 4.521; | |
12 ubyte m = 5; | |
13 | |
14 *ptr = 0;//cast(int)(i+j+k+l+m); | |
15 } | |
16 | |
17 extern(C) int printf(char*, ...); |