glibc/elf/tst-unique3lib2.cc
2012-01-25 16:50:17 +00:00

13 lines
180 B
C++

#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;
}