summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/unsorted/v.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/unsorted/v.c')
-rw-r--r--gcc/testsuite/gcc.c-torture/unsorted/v.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/unsorted/v.c b/gcc/testsuite/gcc.c-torture/unsorted/v.c
new file mode 100644
index 000000000..87ac00aef
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/unsorted/v.c
@@ -0,0 +1,11 @@
+main (int *p)
+{
+ int a;
+
+ a = 0;
+ p[1] = a;
+ a = 0;
+ p[2] = a;
+ a = 123456;
+ p[3] = a;
+}