]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/gcc.c-torture/execute/20000808-1.c
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20000808-1.c
diff --git a/gcc/testsuite/gcc.c-torture/execute/20000808-1.c b/gcc/testsuite/gcc.c-torture/execute/20000808-1.c
deleted file mode 100644 (file)
index a905aad..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-typedef struct {
-  long int p_x, p_y;
-} Point;
-
-void
-bar ()
-{
-}
-
-void
-f (p0, p1, p2, p3, p4, p5)
-     Point p0, p1, p2, p3, p4, p5;
-{
-  if (p0.p_x != 0 || p0.p_y != 1
-      || p1.p_x != -1 || p1.p_y != 0
-      || p2.p_x != 1 || p2.p_y != -1
-      || p3.p_x != -1 || p3.p_y != 1
-      || p4.p_x != 0 || p4.p_y != -1
-      || p5.p_x != 1 || p5.p_y != 0)
-    abort ();
-}
-
-void
-foo ()
-{
-  Point p0, p1, p2, p3, p4, p5;
-
-  bar();
-  
-  p0.p_x = 0;
-  p0.p_y = 1;
-
-  p1.p_x = -1;
-  p1.p_y = 0;
-
-  p2.p_x = 1;
-  p2.p_y = -1;
-
-  p3.p_x = -1;
-  p3.p_y = 1;
-
-  p4.p_x = 0;
-  p4.p_y = -1;
-
-  p5.p_x = 1;
-  p5.p_y = 0;
-
-  f (p0, p1, p2, p3, p4, p5);
-}
-
-int
-main()
-{
-  foo();
-  exit(0);
-}