binutils-gdb/ld/testsuite/ld-elfvers/vers30.c
Jakub Jelinek 96f8ade546 * ldgram.y (vers_defns): Don't lose pattern list before
extern NAME {}.  Handle global, local and extern symbol names.
ld/testsuite/
	* ld-elfvers/vers.exp: Add a new test, vers30.
	* ld-elfvers/vers30.c: New file.
	* ld-elfvers/vers30.map: New file.
	* ld-elfvers/vers30.ver: New file.
	* ld-elfvers/vers30.dsym: New file.
2005-08-17 10:08:30 +00:00

8 lines
154 B
C

void global (void) {}
void local (void) {}
void foo (void) {}
void bar (void) {}
void info (void) {}
void baz (void) __asm ("extern");
void baz (void) {}