a.c (273B)
1 /* Reloc-following: a live function references a global; the data 2 * section holding that global must survive even with -fdata-sections 3 * (which puts each global in its own droppable section). */ 4 5 int data_val = 42; 6 7 int test_main(void) { return data_val == 42 ? 0 : 1; }