diff options
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile/xdi.c')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/xdi.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/xdi.c b/gcc/testsuite/gcc.c-torture/compile/xdi.c new file mode 100644 index 0000000..413dd6c --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/xdi.c @@ -0,0 +1,15 @@ +foo (long long *p, int a, int b) +{ + *(p + a + b) = 876243243874343LL; +} + +bar (p, pp) + long long *p, *pp; +{ + long long a; + *p++ = a; + fee (*p); + *p++ = *pp--; + *p++ = *pp--; + return (int) p; +} |