| 1 | | disabled until bug 4771 is fixed |
|---|
| 2 | | //void main() { |
|---|
| 3 | | // asm { inc [; } |
|---|
| 4 | | //} |
|---|
| 5 | | // |
|---|
| 6 | | //// 1144 mixin_34_A. Segfault D1 only |
|---|
| 7 | | //char[] testHelper(A ...)(){ |
|---|
| 8 | | // char[] result; |
|---|
| 9 | | // foreach(t; a){ |
|---|
| 10 | | // result ~= "int " ~ t ~ ";\n"; |
|---|
| 11 | | // } |
|---|
| 12 | | // return result; |
|---|
| 13 | | // } |
|---|
| 14 | | //void main(){ |
|---|
| 15 | | // mixin( testHelper!( "hello", "world" )() ); |
|---|
| 16 | | // } |
|---|
| | 1 | void main() { |
|---|
| | 2 | asm { inc [; } |
|---|
| | 3 | } |
|---|
| | 4 | |
|---|
| | 5 | // 1144 mixin_34_A. Segfault D1 only |
|---|
| | 6 | char[] testHelper(A ...)(){ |
|---|
| | 7 | char[] result; |
|---|
| | 8 | foreach(t; a){ |
|---|
| | 9 | result ~= "int " ~ t ~ ";\n"; |
|---|
| | 10 | } |
|---|
| | 11 | return result; |
|---|
| | 12 | } |
|---|
| | 13 | void main(){ |
|---|
| | 14 | mixin( testHelper!( "hello", "world" )() ); |
|---|
| | 15 | } |
|---|