diff options
Diffstat (limited to 'gold/testsuite/pr22266_a.c')
-rw-r--r-- | gold/testsuite/pr22266_a.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gold/testsuite/pr22266_a.c b/gold/testsuite/pr22266_a.c index b58254c..bdc09d4 100644 --- a/gold/testsuite/pr22266_a.c +++ b/gold/testsuite/pr22266_a.c @@ -3,3 +3,11 @@ static int int_from_a_1 = 0x11223344; __attribute__((section(".data.rel.ro.a"))) int *p_int_from_a_2 = &int_from_a_1; + +const char *hello (void); + +const char * +hello (void) +{ + return "XXXHello, world!" + 3; +}
\ No newline at end of file |