hjl / source-git / glibc

Forked from source-git/glibc 4 years ago
Clone

Blame elf/tst-unique3lib.cc

Packit 6c4009
#include <cstdio>
Packit 6c4009
#include "tst-unique3.h"
Packit 6c4009
template<typename T> int S<T>::i = 1;
Packit 6c4009
static int i = S<char>::i;
Packit 6c4009
Packit 6c4009
int
Packit 6c4009
in_lib (void)
Packit 6c4009
{
Packit 6c4009
  std::printf ("in_lib: %d %d\n", S<char>::i, i);
Packit 6c4009
  return S<char>::i++ != 2 || i != 1;
Packit 6c4009
}