scop.c: expr_detect_parameter_accesses: use pet_expr_map_access
[pet.git] / tests / div_mod.c
blob00560eb32f523dafbdb1157c34edcf798f8999fb
1 void foo()
3 int i;
4 int a;
6 #pragma scop
7 for (i = -10; i < 10; ++i) {
8 if (i == 5 / -2)
9 a = 5 / -2;
10 if (i == -5 / -2)
11 a = -5 / -2;
12 if (i == 5 % -2)
13 a = 5 % -2;
14 if (i == -5 % -2)
15 a = -5 % -2;
17 #pragma endscop