diff options
Diffstat (limited to 'libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/2.cc')
-rw-r--r-- | libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/2.cc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/2.cc index 8a24210415d..867b86e33e8 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/2.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2004, 2005, 2006, 2007, 2009 Free Software Foundation +// Copyright (C) 2004, 2005, 2006, 2007, 2009, 2013 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,6 +17,12 @@ // 27.6.1.3 unformatted input functions +// { dg-options "-DMAX_SIZE=355" { target simulator } } + +#ifndef MAX_SIZE +#define MAX_SIZE 555 +#endif + #include <istream> #include <string> #include <fstream> @@ -67,7 +73,7 @@ void test01() const wchar_t delim = L'|'; const unsigned nchunks = 10; - const wstring data = prepare(555, nchunks, delim); + const wstring data = prepare(MAX_SIZE, nchunks, delim); wofstream ofstrm; ofstrm.open(filename); |