-// Copyright (C) 2004, 2005, 2006, 2007, 2009 Free Software Foundation
+// Copyright (C) 2004-2013 Free Software Foundation, Inc.
//
// 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
// 21.3.7.9 inserters and extractors
+// { dg-options "-DMAX_SIZE=466" { target simulator } }
+
+#ifndef MAX_SIZE
+#define MAX_SIZE 666
+#endif
+
#include <istream>
#include <string>
#include <fstream>
const char filename[] = "inserters_extractors-3.txt";
const unsigned nchunks = 10;
- const wstring data = prepare(666, nchunks);
+ const wstring data = prepare(MAX_SIZE, nchunks);
wofstream ofstrm;
ofstrm.open(filename);