2016-04-08 23:09:27 +03:00
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
int main(int argc, char* argv[])
|
|
|
|
{
|
|
|
|
int i;
|
2016-05-16 17:34:04 +03:00
|
|
|
for (i = 1; i < argc; ++i) {
|
|
|
|
if (argv[i][0] != '-') {
|
2016-04-08 23:09:27 +03:00
|
|
|
fprintf(stdout, "%s:0:0: warning: message [checker]\n", argv[i]);
|
|
|
|
break;
|
|
|
|
}
|
2016-05-16 17:34:04 +03:00
|
|
|
}
|
2016-04-08 23:09:27 +03:00
|
|
|
fprintf(stderr, "1 warning generated.\n");
|
|
|
|
return 0;
|
|
|
|
}
|