diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/lto/pr102059-2_1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/lto/pr102059-2_1.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/lto/pr102059-2_1.c b/gcc/testsuite/gcc.dg/lto/pr102059-2_1.c new file mode 100644 index 00000000000..2e5570d127e --- /dev/null +++ b/gcc/testsuite/gcc.dg/lto/pr102059-2_1.c @@ -0,0 +1,9 @@ +extern int foo1 (int *b); + +int foo2 (int *b) +{ + int res = foo1 (b); + *b += res; + return *b; +} + |