// 2000-06-29 bkoz
-// Copyright (C) 2000-2013 Free Software Foundation, Inc.
+// Copyright (C) 2000-2017 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
void test06(void)
{
using namespace std;
- bool test __attribute__((unused)) = true;
string num1("555");
// seekg
istream::pos_type pos1 = iss.tellg();
int asNum = 0;
iss >> asNum;
- VERIFY( test = iss.eof() );
- VERIFY( test = !iss.fail() );
+ VERIFY( iss.eof() );
+ VERIFY( !iss.fail() );
iss.seekg(pos1);
- VERIFY( test = !iss.fail() );
+ VERIFY( !iss.fail() );
}
}