glibc/elf/tst-unique3lib2.cc
2012-01-07 10:37:50 -05:00

15 lines
209 B
C++

extern char *gets (char *);
#include <cstdio>
#include "tst-unique3.h"
template<typename T> int S<T>::i;
extern "C"
int
in_lib2 ()
{
std::printf ("in_lib2: %d\n", S<char>::i);
return S<char>::i != 3;
}