Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/gold/testsuite/pr22266_main.c
2023-03-06 14:48:14 +01:00

13 lines
245 B
C

#include <stdlib.h>
#include <string.h>
extern int *p_int_from_a_2;
extern const char *hello (void);
int main (void) {
if (*p_int_from_a_2 != 0x11223344)
abort ();
if (strcmp(hello(), "Hello, world!") != 0)
abort ();
return 0;
}