aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/labels-3.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile/labels-3.c')
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/labels-3.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/labels-3.c b/gcc/testsuite/gcc.c-torture/compile/labels-3.c
deleted file mode 100644
index 51ac88380b8..00000000000
--- a/gcc/testsuite/gcc.c-torture/compile/labels-3.c
+++ /dev/null
@@ -1,12 +0,0 @@
-/* Verify that we can narrow the storage associated with label diffs. */
-
-int foo (int a)
-{
- static const short ar[] = { &&l1 - &&l1, &&l2 - &&l1 };
- void *p = &&l1 + ar[a];
- goto *p;
- l1:
- return 1;
- l2:
- return 2;
-}