08_alias.c (284B)
1 /* Exercises aliased symbols: two names at one address. 2 * `aliased` must appear in the symbol table as a distinct STB_GLOBAL 3 * symbol with the same value (and section index) as `original`. */ 4 5 int original(void) { return 42; } 6 7 int aliased(void) __attribute__((alias("original")));