Mercurial > projects > ldc
comparison tests/mini/norun_debug10.d @ 416:24ea9bf5f8b7
testing the new mini test runner features.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Mon, 28 Jul 2008 03:04:28 +0200 |
parents | |
children | 925779c19395 |
comparison
equal
deleted
inserted
replaced
415:76bf1eaaf4dc | 416:24ea9bf5f8b7 |
---|---|
1 module mini.norun_debug10; | |
2 | |
3 struct Vec2 | |
4 { | |
5 float x,y; | |
6 } | |
7 | |
8 void main() | |
9 { | |
10 Vec2 v2; | |
11 char[] str = "hello"; | |
12 int i = void; | |
13 float f = 3.14; | |
14 func(v2, v2, str, i, f); | |
15 } | |
16 | |
17 void func(Vec2 v2, ref Vec2 rv2, char[] str, out int i, ref float f) | |
18 { | |
19 int* fail; | |
20 *fail = 0; | |
21 } |