mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 06:20:06 +00:00
12 lines
219 B
C++
12 lines
219 B
C++
|
#include <cstdio>
|
||
|
#include "tst-unique3.h"
|
||
|
template<typename T> int S<T>::i = 1;
|
||
|
static int i = S<char>::i;
|
||
|
|
||
|
int
|
||
|
in_lib (void)
|
||
|
{
|
||
|
std::printf ("in_lib: %d %d\n", S<char>::i, i);
|
||
|
return S<char>::i++ != 2 || i != 1;
|
||
|
}
|