gcc/testsuite/gdc.test/fail_compilation/deprecations_preview_in.d
raw| 1 | /* |
| 2 | REQUIRED_ARGS: -de |
| 3 | TEST_OUTPUT: |
| 4 | --- |
| 5 | fail_compilation/deprecations_preview_in.d(1): Deprecation: using `in` parameters with `extern(C)` functions is deprecated |
| 6 | fail_compilation/deprecations_preview_in.d(1): parameter `__anonymous_param` declared as `in` here |
| 7 | --- |
| 8 | */ |
| 9 | |
| 10 | #line 1 |
| 11 | extern(C) void fun1(in char*); |