| 1 |
/* |
| 2 |
TEST_OUTPUT: |
| 3 |
--- |
| 4 |
fail_compilation/fail56.d(21): Error: mixin `dstress.nocompile.bug_20050330_A.main.Blah!(5, a).Blah!(5, a)` recursive mixin instantiation |
| 5 |
fail_compilation/fail56.d(26): Error: mixin `dstress.nocompile.bug_20050330_A.main.Blah!(5, a)` error instantiating |
| 6 |
--- |
| 7 |
*/ |
| 8 |
// $HeadURL$ |
| 9 |
// $Date$ |
| 10 |
// $Author$ |
| 11 |
|
| 12 |
// @author@ Regan Heath <[email protected]> |
| 13 |
// @date@ 2005-03-30 |
| 14 |
// @uri@ news:[email protected] |
| 15 |
|
| 16 |
// __DSTRESS_ELINE__ 14 |
| 17 |
|
| 18 |
module dstress.nocompile.bug_20050330_A; |
| 19 |
|
| 20 |
template Blah(int a, alias B){ |
| 21 |
mixin Blah!(a, B) Foo; |
| 22 |
} |
| 23 |
|
| 24 |
int main(){ |
| 25 |
int a; |
| 26 |
mixin Blah!(5,a); |
| 27 |
return 0; |
| 28 |
} |