Mercurial > projects > dstress
annotate nocompile/a/alias_39_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 | 8c922e000a6d |
children |
rev | line source |
---|---|
1178
8c922e000a6d
[Issue 402] New: compiler crash with mixin and forward reference
thomask
parents:
diff
changeset
|
1 // $HeadURL$ |
8c922e000a6d
[Issue 402] New: compiler crash with mixin and forward reference
thomask
parents:
diff
changeset
|
2 // $Date$ |
8c922e000a6d
[Issue 402] New: compiler crash with mixin and forward reference
thomask
parents:
diff
changeset
|
3 // $Author$ |
8c922e000a6d
[Issue 402] New: compiler crash with mixin and forward reference
thomask
parents:
diff
changeset
|
4 |
8c922e000a6d
[Issue 402] New: compiler crash with mixin and forward reference
thomask
parents:
diff
changeset
|
5 // @author@ Bradley Smith <digitalmars-com@baysmith.com> |
8c922e000a6d
[Issue 402] New: compiler crash with mixin and forward reference
thomask
parents:
diff
changeset
|
6 // @date@ 2006-10-06 |
1320
daef239f37cf
sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents:
1178
diff
changeset
|
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=402 |
1178
8c922e000a6d
[Issue 402] New: compiler crash with mixin and forward reference
thomask
parents:
diff
changeset
|
8 // @desc@ [Issue 402] New: compiler crash with mixin and forward reference |
8c922e000a6d
[Issue 402] New: compiler crash with mixin and forward reference
thomask
parents:
diff
changeset
|
9 |
8c922e000a6d
[Issue 402] New: compiler crash with mixin and forward reference
thomask
parents:
diff
changeset
|
10 // __DSTRESS_ELINE__ 21 |
8c922e000a6d
[Issue 402] New: compiler crash with mixin and forward reference
thomask
parents:
diff
changeset
|
11 |
8c922e000a6d
[Issue 402] New: compiler crash with mixin and forward reference
thomask
parents:
diff
changeset
|
12 module dstress.nocompile.a.alias_39_A; |
8c922e000a6d
[Issue 402] New: compiler crash with mixin and forward reference
thomask
parents:
diff
changeset
|
13 |
8c922e000a6d
[Issue 402] New: compiler crash with mixin and forward reference
thomask
parents:
diff
changeset
|
14 template Foo(alias b){ |
8c922e000a6d
[Issue 402] New: compiler crash with mixin and forward reference
thomask
parents:
diff
changeset
|
15 int a() { |
8c922e000a6d
[Issue 402] New: compiler crash with mixin and forward reference
thomask
parents:
diff
changeset
|
16 return b; |
8c922e000a6d
[Issue 402] New: compiler crash with mixin and forward reference
thomask
parents:
diff
changeset
|
17 } |
8c922e000a6d
[Issue 402] New: compiler crash with mixin and forward reference
thomask
parents:
diff
changeset
|
18 } |
8c922e000a6d
[Issue 402] New: compiler crash with mixin and forward reference
thomask
parents:
diff
changeset
|
19 |
8c922e000a6d
[Issue 402] New: compiler crash with mixin and forward reference
thomask
parents:
diff
changeset
|
20 void test(){ |
8c922e000a6d
[Issue 402] New: compiler crash with mixin and forward reference
thomask
parents:
diff
changeset
|
21 mixin Foo!(y); |
8c922e000a6d
[Issue 402] New: compiler crash with mixin and forward reference
thomask
parents:
diff
changeset
|
22 } |