aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite/incremental_test_1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gold/testsuite/incremental_test_1.c')
-rw-r--r--gold/testsuite/incremental_test_1.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gold/testsuite/incremental_test_1.c b/gold/testsuite/incremental_test_1.c
index 9783515..58faa0e 100644
--- a/gold/testsuite/incremental_test_1.c
+++ b/gold/testsuite/incremental_test_1.c
@@ -18,4 +18,9 @@
// Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
// MA 02110-1301, USA.
-int a;
+int a = -1;
+
+int t1(int b)
+{
+ return a + b;
+}