mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
28 lines
474 B
D
28 lines
474 B
D
// https://issues.dlang.org/show_bug.cgi?id=20643
|
|
// https://issues.dlang.org/show_bug.cgi?id=20644
|
|
// REQUIRED_ARGS: -verrors=simple
|
|
/*
|
|
TEST_OUTPUT:
|
|
----
|
|
compilable/chkformat.d(15): Deprecation: more format specifiers than 0 arguments
|
|
----
|
|
*/
|
|
import core.stdc.stdio;
|
|
|
|
void main()
|
|
{
|
|
// b20643
|
|
printf("%d \n");
|
|
|
|
// b20644
|
|
ubyte b;
|
|
printf("%hhu \n", b);
|
|
|
|
char c = '-';
|
|
printf("%c", c);
|
|
|
|
short s;
|
|
printf("%hd", s);
|
|
|
|
printf("%hn", &s);
|
|
}
|