]> git.ipfire.org Git - thirdparty/glibc.git/blob - elf/tst-unique3lib2.cc
Add explicit declaration of gets in C++ code
[thirdparty/glibc.git] / elf / tst-unique3lib2.cc
1 extern char *gets (char *);
2
3 #include <cstdio>
4 #include "tst-unique3.h"
5
6 template<typename T> int S<T>::i;
7
8 extern "C"
9 int
10 in_lib2 ()
11 {
12 std::printf ("in_lib2: %d\n", S<char>::i);
13 return S<char>::i != 3;
14 }