Debian Codegraph @

gcc/testsuite/gcc.dg/analyzer/atomic-types-1.c

raw
1 #include "analyzer-decls.h"
2
3 _Atomic int i;
4
5 void test_atomic_int_1(int x)
6 {
7 i = x;
8 __analyzer_eval(i == x); /* { dg-warning "TRUE" } */
9 i++;
10 __analyzer_eval(i == x + 1); /* { dg-warning "TRUE" } */
11 }