aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/g++.dg/abi/pr39188-3.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/g++.dg/abi/pr39188-3.h')
-rw-r--r--gcc-4.8.1/gcc/testsuite/g++.dg/abi/pr39188-3.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/g++.dg/abi/pr39188-3.h b/gcc-4.8.1/gcc/testsuite/g++.dg/abi/pr39188-3.h
new file mode 100644
index 000000000..e0c9f619c
--- /dev/null
+++ b/gcc-4.8.1/gcc/testsuite/g++.dg/abi/pr39188-3.h
@@ -0,0 +1,11 @@
+static int
+f (int x)
+{
+ static union
+ {
+ int i;
+ };
+ int j = i;
+ i = x;
+ return j;
+}