summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/pseudo_tidy.c
blob: 766c99086f6794e906db281acdfef55a2cfeada6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdio.h>

int main(int argc, char* argv[])
{
  int i;
  for (i = 1; i < argc; ++i)
    {
    if (argv[i][0] != '-')
      {
      fprintf(stdout, "%s:0:0: warning: message [checker]\n", argv[i]);
      break;
      }
    }
  fprintf(stderr, "1 warning generated.\n");
  return 0;
}