summaryrefslogtreecommitdiff
path: root/test/lisp/progmodes/flymake-resources/errors-and-warnings.c
blob: 6454dd202360d6ba755bed149368a2bf51e4c58e (plain)
1
2
3
4
5
6
7
8
9
10
 int main()
{
  char c = 1000;
  int bla;
  /* The following line should have one warning and one error. The
     warning spans the full line because gcc (at least 6.3.0) points
     places the error at the =, which isn't a sexp.*/
  char c; if (bla == (void*)3);
  return c;
}