10096.cc: Add weak bits.

2003-05-12  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.

From-SVN: r66724
This commit is contained in:
Benjamin Kosnik 2003-05-12 16:10:55 +00:00 committed by Benjamin Kosnik
parent 8015bbee75
commit a72a4f3d37
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.
2003-05-11 Phil Edwards <pme@gcc.gnu.org>
* testsuite/Makefile.am: Properly quote /both/ LD_RUN_PATHs.

View File

@ -63,6 +63,13 @@ void test01()
VERIFY( fb.sgetc() == MyTraits::eof() );
}
#if !__GXX_WEAK__
// Explicitly instantiate for systems with no COMDAT or weak support.
template
std::basic_filebuf<char, MyTraits>::int_type
std::basic_filebuf<char, MyTraits>::_S_pback_size;
#endif
int main()
{
test01();