1 /* Check semantics of various constructs to generate renamed symbols. */
2 extern int printf (const char *, ...);
5 printf("in target function\n");
8 void alias_for_target(void) __attribute__((alias("target")));
9 #ifdef __leading_underscore
10 void asm_for_target(void) __asm__("_target");
12 void asm_for_target(void) __asm__("target");
15 /* This is not supposed to compile, alias targets must be defined in the
16 same unit. In TCC they even must be defined before the reference
17 void alias_for_undef(void) __attribute__((alias("undefined")));
20 extern void inunit2(void);