12 lines
230 B
C
Raw Normal View History

2012-03-26 21:18:29 +02:00
/* Test whether .symver x, x@foo
causes relocations against x within the same shared library
to become dynamic relocations against x@foo. */
#include "vers.h"
2012-03-26 21:18:29 +02:00
int x = 12;
SYMVER(x, x@VERS.0);
2012-03-26 21:18:29 +02:00
void foo (void)
{
x = 24;
}