summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/mpx/arg-addr-1-nov.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/mpx/arg-addr-1-nov.c')
-rw-r--r--gcc/testsuite/gcc.target/i386/mpx/arg-addr-1-nov.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/gcc/testsuite/gcc.target/i386/mpx/arg-addr-1-nov.c b/gcc/testsuite/gcc.target/i386/mpx/arg-addr-1-nov.c
deleted file mode 100644
index 4e338c76f7c..00000000000
--- a/gcc/testsuite/gcc.target/i386/mpx/arg-addr-1-nov.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/* { dg-do run } */
-/* { dg-options "-fcheck-pointer-bounds -mmpx" } */
-
-
-#include "mpx-check.h"
-
-int rd (int *p, int i)
-{
- int res = p[i];
- printf ("%d\n", res);
- return res;
-}
-
-int foo (int i, int j)
-{
- return rd(&i, j);
-}
-
-int mpx_test (int argc, const char **argv)
-{
- foo (1, 0);
-
- return 0;
-}