diff options
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile/stru.c')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/stru.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/stru.c b/gcc/testsuite/gcc.c-torture/compile/stru.c new file mode 100644 index 0000000..042c522 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/stru.c @@ -0,0 +1,9 @@ +struct foo +{ + int a, b, c; +}; + +foo (struct foo *a) +{ + a[0] = a[1]; +} |