aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr22531.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr22531.c')
-rw-r--r--gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr22531.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr22531.c b/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr22531.c
new file mode 100644
index 000000000..70e2df79f
--- /dev/null
+++ b/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr22531.c
@@ -0,0 +1,7 @@
+typedef struct dw_cfi_oprnd_struct {
+ unsigned long reg;
+} dw_cfa_location;
+void def_cfa_1 (void) {
+ dw_cfa_location loc;
+ loc.reg = loc.reg;
+}