mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-05 23:32:26 +08:00
13189.cc: Fix guards.
2004-01-16 Benjamin Kosnik <bkoz@redhat.com> * testsuite/ext/enc_filebuf/char/13189.cc: Fix guards. * testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same. From-SVN: r76017
This commit is contained in:
parent
73e61092e1
commit
d517f626e1
@ -1,3 +1,8 @@
|
||||
2004-01-16 Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
* testsuite/ext/enc_filebuf/char/13189.cc: Fix guards.
|
||||
* testsuite/ext/enc_filebuf/wchar_t/13189.cc: Same.
|
||||
|
||||
2004-01-16 Danny Smith <dannysmith@users.sourceforge.net>
|
||||
|
||||
* testsuite/testsuite_hooks.cc (try_mkfifo): Avoid calling
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2003 Free Software Foundation
|
||||
// Copyright (C) 2003, 2004 Free Software Foundation
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
@ -17,12 +17,13 @@
|
||||
// USA.
|
||||
|
||||
#ifdef _GLIBCXX_USE___ENC_TRAITS
|
||||
|
||||
#include <ext/enc_filebuf.h>
|
||||
#endif
|
||||
#include <testsuite_hooks.h>
|
||||
|
||||
void test01()
|
||||
{
|
||||
#ifdef _GLIBCXX_USE___ENC_TRAITS
|
||||
using namespace std;
|
||||
typedef __enc_traits state_type;
|
||||
typedef char char_type;
|
||||
@ -47,11 +48,8 @@ void test01()
|
||||
{
|
||||
VERIFY( false );
|
||||
}
|
||||
}
|
||||
|
||||
#else
|
||||
void test01() { }
|
||||
#endif
|
||||
}
|
||||
|
||||
int main()
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2003 Free Software Foundation
|
||||
// Copyright (C) 2003, 2004 Free Software Foundation
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
@ -17,12 +17,13 @@
|
||||
// USA.
|
||||
|
||||
#ifdef _GLIBCXX_USE___ENC_TRAITS
|
||||
|
||||
#include <ext/enc_filebuf.h>
|
||||
#endif
|
||||
#include <testsuite_hooks.h>
|
||||
|
||||
void test01()
|
||||
{
|
||||
#ifdef _GLIBCXX_USE___ENC_TRAITS
|
||||
using namespace std;
|
||||
typedef __enc_traits state_type;
|
||||
typedef wchar_t char_type;
|
||||
@ -47,11 +48,8 @@ void test01()
|
||||
{
|
||||
VERIFY( false );
|
||||
}
|
||||
}
|
||||
|
||||
#else
|
||||
void test01() { }
|
||||
#endif
|
||||
}
|
||||
|
||||
int main()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user