comparison tests/mini/norun_debug12.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_debug12;
2
3 interface I
4 {
5 int foo();
6 }
7
8 class C : I
9 {
10 int i = 24;
11 int foo()
12 {
13 return i;
14 }
15 }
16
17 void main()
18 {
19 scope c = new C;
20 I i = c;
21
22 int* fail;
23 *fail = 0;
24 }