Removed obsolete commented-out code.
[tangerine.git] / compiler / purify / test8.c
blob302b6c227d1522b1f32a768e614515d6a7d518eb
1 #include <stdio.h>
3 int * x;
4 const char str[] = "hallo";
6 static const char str2[] = "hallo";
8 int main (int argc, char ** argv)
10 int c;
11 int * y;
13 x = &c;
14 y = x;
16 c = *y; /* UMR */
18 c = str[3]; /* ok */
19 c = str[-1]; /* ILR */
20 c = str[8]; /* ILR */
22 c = str2[3]; /* ok */
23 c = str2[-1]; /* ILR */
24 c = str2[8]; /* ILR */
26 return 0;