mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-30 07:14:09 +08:00
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:
parent
8015bbee75
commit
a72a4f3d37
@ -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.
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user