Commit a72a4f3d by Benjamin Kosnik Committed by Benjamin Kosnik

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
parent 8015bbee
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> 2003-05-11 Phil Edwards <pme@gcc.gnu.org>
* testsuite/Makefile.am: Properly quote /both/ LD_RUN_PATHs. * testsuite/Makefile.am: Properly quote /both/ LD_RUN_PATHs.
......
...@@ -63,6 +63,13 @@ void test01() ...@@ -63,6 +63,13 @@ void test01()
VERIFY( fb.sgetc() == MyTraits::eof() ); 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() int main()
{ {
test01(); test01();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment