annotate tests/mini/norun_debug12.d @ 883:b52d5de7783f

GC defines and linkage changes.
author Christian Kamm <kamm incasoftware de>
date Thu, 08 Jan 2009 18:20:02 +0100
parents 24ea9bf5f8b7
children 925779c19395
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
416
24ea9bf5f8b7 testing the new mini test runner features.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff changeset
1 module mini.norun_debug12;
24ea9bf5f8b7 testing the new mini test runner features.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff changeset
2
24ea9bf5f8b7 testing the new mini test runner features.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff changeset
3 interface I
24ea9bf5f8b7 testing the new mini test runner features.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff changeset
4 {
24ea9bf5f8b7 testing the new mini test runner features.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff changeset
5 int foo();
24ea9bf5f8b7 testing the new mini test runner features.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff changeset
6 }
24ea9bf5f8b7 testing the new mini test runner features.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff changeset
7
24ea9bf5f8b7 testing the new mini test runner features.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff changeset
8 class C : I
24ea9bf5f8b7 testing the new mini test runner features.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff changeset
9 {
24ea9bf5f8b7 testing the new mini test runner features.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff changeset
10 int i = 24;
24ea9bf5f8b7 testing the new mini test runner features.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff changeset
11 int foo()
24ea9bf5f8b7 testing the new mini test runner features.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff changeset
12 {
24ea9bf5f8b7 testing the new mini test runner features.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff changeset
13 return i;
24ea9bf5f8b7 testing the new mini test runner features.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff changeset
14 }
24ea9bf5f8b7 testing the new mini test runner features.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff changeset
15 }
24ea9bf5f8b7 testing the new mini test runner features.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff changeset
16
24ea9bf5f8b7 testing the new mini test runner features.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff changeset
17 void main()
24ea9bf5f8b7 testing the new mini test runner features.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff changeset
18 {
24ea9bf5f8b7 testing the new mini test runner features.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff changeset
19 scope c = new C;
24ea9bf5f8b7 testing the new mini test runner features.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff changeset
20 I i = c;
24ea9bf5f8b7 testing the new mini test runner features.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff changeset
21
24ea9bf5f8b7 testing the new mini test runner features.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff changeset
22 int* fail;
24ea9bf5f8b7 testing the new mini test runner features.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff changeset
23 *fail = 0;
24ea9bf5f8b7 testing the new mini test runner features.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff changeset
24 }