Debian Codegraph @

gcc/testsuite/c-c++-common/analyzer/arith-1.c

raw
1 #include "analyzer-decls.h"
2
3 static int __attribute__((noipa))
4 negate_int (int x)
5 {
6 return -x;
7 }
8
9 void
10 test_1 (int a)
11 {
12 __analyzer_eval (a + negate_int (a) == 0); /* { dg-warning "TRUE" } */
13 }