about summary refs log tree commit diff
path: root/elf/tst-unique3lib2.cc
blob: 76dadcaae7ddd32f2580799f5616824b2e95002b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;
}