// You should have received a copy of the GNU General Public License along
// with this library; see the file COPYING. If not, write to the Free
-// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA.
// 27.8.1.4 Overridden virtual functions
+// { dg-require-fileio "" }
+
#include <fstream>
#include <testsuite_hooks.h>
#include <testsuite_io.h>
void test05()
{
using namespace std;
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
typedef std::filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test = true;
+ bool test __attribute__((unused)) = true;
int_type c1, c2, c3;
// int_type sgetc()
}
}
-main()
+int main()
{
test05();
return 0;