aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/analyzer/unknown-fns-4.c
blob: bd1ab1e5476160091753cff62dd2ba9f7063d080 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "analyzer-decls.h"

int get(void);
void test (void)
{
  int got = 0;
  while (1)
    {
      if (get ())
	got = 1;
      else
	if (got)
	  __analyzer_dump_path (); /* { dg-message "path" } */
    }
}