-// Copyright (C) 2004-2016 Free Software Foundation, Inc.
+// Copyright (C) 2004-2020 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
// @require@ %-*.tst %-*.txt
// @diff@ %-*.tst %-*.txt
+// { dg-require-fileio "" }
+
#include <istream>
#include <fstream>
#include <limits>
test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char filename[] ="istream_unformatted-1.txt";
ios_base::iostate state1, state2;