aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/analyzer/error-3.c
blob: b6ab6c8410ecb8afb84483a9d0f116011b0ab789 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* Verify that we gracefully handle error functions that don't match
   the signature of GNU's <error.h>.  */

extern void error (void);
extern void error_at_line (void);

void test_1 (void)
{
  error ();
  error_at_line ();
}