Mercurial > projects > dstress
annotate run/i/inline_17_A.d @ 1320:daef239f37cf
sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
author | thomask |
---|---|
date | Sun, 31 Dec 2006 19:59:08 +0000 |
parents | 55aa092171eb |
children |
rev | line source |
---|---|
1156
55aa092171eb
[Issue 377] New: Compiler error when using -inline only
thomask
parents:
diff
changeset
|
1 // $HeadURL$ |
55aa092171eb
[Issue 377] New: Compiler error when using -inline only
thomask
parents:
diff
changeset
|
2 // $Date$ |
55aa092171eb
[Issue 377] New: Compiler error when using -inline only
thomask
parents:
diff
changeset
|
3 // $Author$ |
55aa092171eb
[Issue 377] New: Compiler error when using -inline only
thomask
parents:
diff
changeset
|
4 |
55aa092171eb
[Issue 377] New: Compiler error when using -inline only
thomask
parents:
diff
changeset
|
5 // @author@ Boris Kolar <boris.kolar@globera.com> |
55aa092171eb
[Issue 377] New: Compiler error when using -inline only
thomask
parents:
diff
changeset
|
6 // @date@ 2006-09-27 |
1320
daef239f37cf
sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents:
1156
diff
changeset
|
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=377 |
1156
55aa092171eb
[Issue 377] New: Compiler error when using -inline only
thomask
parents:
diff
changeset
|
8 // @desc@ [Issue 377] New: Compiler error when using -inline only |
55aa092171eb
[Issue 377] New: Compiler error when using -inline only
thomask
parents:
diff
changeset
|
9 |
55aa092171eb
[Issue 377] New: Compiler error when using -inline only
thomask
parents:
diff
changeset
|
10 module dstress.run.i.inline_17_A; |
55aa092171eb
[Issue 377] New: Compiler error when using -inline only
thomask
parents:
diff
changeset
|
11 |
55aa092171eb
[Issue 377] New: Compiler error when using -inline only
thomask
parents:
diff
changeset
|
12 struct List { |
55aa092171eb
[Issue 377] New: Compiler error when using -inline only
thomask
parents:
diff
changeset
|
13 void get() { |
55aa092171eb
[Issue 377] New: Compiler error when using -inline only
thomask
parents:
diff
changeset
|
14 } |
55aa092171eb
[Issue 377] New: Compiler error when using -inline only
thomask
parents:
diff
changeset
|
15 } |
55aa092171eb
[Issue 377] New: Compiler error when using -inline only
thomask
parents:
diff
changeset
|
16 |
55aa092171eb
[Issue 377] New: Compiler error when using -inline only
thomask
parents:
diff
changeset
|
17 interface Model { |
55aa092171eb
[Issue 377] New: Compiler error when using -inline only
thomask
parents:
diff
changeset
|
18 List list(); |
55aa092171eb
[Issue 377] New: Compiler error when using -inline only
thomask
parents:
diff
changeset
|
19 } |
55aa092171eb
[Issue 377] New: Compiler error when using -inline only
thomask
parents:
diff
changeset
|
20 |
55aa092171eb
[Issue 377] New: Compiler error when using -inline only
thomask
parents:
diff
changeset
|
21 Model model; |
55aa092171eb
[Issue 377] New: Compiler error when using -inline only
thomask
parents:
diff
changeset
|
22 |
55aa092171eb
[Issue 377] New: Compiler error when using -inline only
thomask
parents:
diff
changeset
|
23 int main(){ |
55aa092171eb
[Issue 377] New: Compiler error when using -inline only
thomask
parents:
diff
changeset
|
24 (model ? model.list : List.init).get(); |
55aa092171eb
[Issue 377] New: Compiler error when using -inline only
thomask
parents:
diff
changeset
|
25 |
55aa092171eb
[Issue 377] New: Compiler error when using -inline only
thomask
parents:
diff
changeset
|
26 return 0; |
55aa092171eb
[Issue 377] New: Compiler error when using -inline only
thomask
parents:
diff
changeset
|
27 } |