| 1 |
// REQUIRED_ARGS: -transition=in |
| 2 |
/* |
| 3 |
TRANSFORM_OUTPUT: remove_lines(druntime) |
| 4 |
TEST_OUTPUT: |
| 5 |
--- |
| 6 |
compilable/transition_in.d(3): Usage of 'in' on parameter |
| 7 |
compilable/transition_in.d(3): Usage of 'in' on parameter |
| 8 |
compilable/transition_in.d(8): Usage of 'in' on parameter |
| 9 |
compilable/transition_in.d(13): Usage of 'in' on parameter |
| 10 |
--- |
| 11 |
*/ |
| 12 |
#line 1 |
| 13 |
struct Foobar |
| 14 |
{ |
| 15 |
void bar (in int a, in Object c); |
| 16 |
} |
| 17 |
|
| 18 |
version (none) |
| 19 |
{ |
| 20 |
void barfoo (in string arg); |
| 21 |
} |
| 22 |
|
| 23 |
void main () |
| 24 |
{ |
| 25 |
void nested (in char c) {} |
| 26 |
} |