]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/gcc.c-torture/execute/20000801-2.c
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20000801-2.c
diff --git a/gcc/testsuite/gcc.c-torture/execute/20000801-2.c b/gcc/testsuite/gcc.c-torture/execute/20000801-2.c
deleted file mode 100644 (file)
index 5bb17b5..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-extern void abort(void);
-extern void exit(int);
-int bar(void);
-int baz(void);
-
-struct foo {
-  struct foo *next;
-};
-
-struct foo *test(struct foo *node)
-{
-  while (node) {
-    if (bar() && !baz())
-      break;
-    node = node->next;
-  }
-  return node;
-}
-
-int bar (void)
-{
-  return 0;
-}
-
-int baz (void)
-{
-  return 0;
-}
-
-int main(void)
-{
-  struct foo a, b, *c;
-
-  a.next = &b;
-  b.next = (struct foo *)0;
-  c = test(&a);
-  if (c)
-    abort();
-  exit (0);
-}