Commit 57616df1 by Benjamin Kosnik Committed by Benjamin Kosnik

13189.cc: Guard for __enc_traits.




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

	* testsuite/ext/enc_filebuf/char/13189.cc: Guard for __enc_traits.
	* testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same.

From-SVN: r74380
parent e80213d2
2003-12-06 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/ext/enc_filebuf/char/13189.cc: Guard for __enc_traits.
* testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same.
2003-12-06 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/11691
* include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf):
Remove __del argument to file descriptor constructor.
......
......@@ -16,13 +16,14 @@
// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
// USA.
#ifdef _GLIBCXX_USE___ENC_TRAITS
#include <ext/enc_filebuf.h>
#include <testsuite_hooks.h>
int main()
void test01()
{
using namespace std;
typedef __enc_traits state_type;
typedef char char_type;
typedef __gnu_cxx::enc_filebuf<char_type> filebuf_type;
......@@ -46,5 +47,14 @@ int main()
{
VERIFY( false );
}
return 0;
}
#else
void test01() { }
#endif
int main()
{
test01();
return 0;
}
......@@ -16,13 +16,14 @@
// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
// USA.
#ifdef _GLIBCXX_USE___ENC_TRAITS
#include <ext/enc_filebuf.h>
#include <testsuite_hooks.h>
int main()
void test01()
{
using namespace std;
typedef __enc_traits state_type;
typedef wchar_t char_type;
typedef __gnu_cxx::enc_filebuf<char_type> filebuf_type;
......@@ -46,5 +47,14 @@ int main()
{
VERIFY( false );
}
return 0;
}
#else
void test01() { }
#endif
int main()
{
test01();
return 0;
}
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