mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-08 23:40:24 -08:00
* test/lisp/progmodes/flymake-tests.el (flymake-tests--call-with-fixture): Save excursion. (errors-and-warnings): New test. * test/lisp/progmodes/flymake-resources/errors-and-warnings.c: New test fixture.
10 lines
278 B
C
10 lines
278 B
C
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;
|
|
}
|