| 1 |
/* |
| 2 |
REQUIRED_ARGS: -verrors=simple -verrors=3 |
| 3 |
TEST_OUTPUT: |
| 4 |
--- |
| 5 |
compilable/deprecationlimit.d(18): Deprecation: function `deprecationlimit.f` is deprecated |
| 6 |
compilable/deprecationlimit.d(19): Deprecation: function `deprecationlimit.f` is deprecated |
| 7 |
compilable/deprecationlimit.d(20): Deprecation: function `deprecationlimit.f` is deprecated |
| 8 |
1 deprecation warning omitted, use `-verrors=0` to show all |
| 9 |
--- |
| 10 |
*/ |
| 11 |
|
| 12 |
deprecated void f() |
| 13 |
{ |
| 14 |
} |
| 15 |
|
| 16 |
void main() |
| 17 |
{ |
| 18 |
f(); |
| 19 |
f(); |
| 20 |
f(); |
| 21 |
static assert("1"); // also surpress deprecationSupplemental |
| 22 |
} |