Define GEN_AS_CONST_HEADERS when generating header files [BZ #22792]
[glibc.git] / elf / tst-unique3lib.cc
blobfa8e85a36c993b242dd6a07fe2026a8d0717d407
1 #include <cstdio>
2 #include "tst-unique3.h"
3 template<typename T> int S<T>::i = 1;
4 static int i = S<char>::i;
6 int
7 in_lib (void)
9 std::printf ("in_lib: %d %d\n", S<char>::i, i);
10 return S<char>::i++ != 2 || i != 1;