From 7572b27251fce7cae3de9897e56e9ab7559ed228 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Sat, 1 Nov 2008 17:32:22 +0000 Subject: [PATCH] this should not be here [r23356] --- parsetest/should_warn/write_only.c | 34 ------------------------------ 1 file changed, 34 deletions(-) delete mode 100644 parsetest/should_warn/write_only.c diff --git a/parsetest/should_warn/write_only.c b/parsetest/should_warn/write_only.c deleted file mode 100644 index 0ef48b7..0000000 --- a/parsetest/should_warn/write_only.c +++ /dev/null @@ -1,34 +0,0 @@ -struct X { int i[10]; int j; struct X* next; }; - -void f(int parm) -{{ -#if 0 - parm++; - int x = 0; - int y = 1; - x = x + y; - for (int z = 0;; ++z) { - z; - } - int* a = 0; - a = &a[*a]; - int* b = 0; - b = b[*b] = 0; - for (struct X* px = 0;; px = px->next) {} - struct X* x2 = 0; - x2->next = 0; - int c; - c = *&c = 0; - int d = 23; - int e = 42; - asm("" : "+r" (e) : "r" (d)); - struct X* x3 = 0; - x3->i[2] = 0; - int i[10]; - i[0] = 1; - int j[10]; - j[j[j[0]]] = 23; -#endif - struct X* x4 = 0; - x4->j++; -}} -- 2.20.1