// 2000-06-29 bkoz
-// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, 2010
-// Free Software Foundation
+// Copyright (C) 2000-2024 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
iss.tellg();
int asNum = 0;
iss >> asNum;
- VERIFY( test = iss.eof() );
- VERIFY( test = !iss.fail() );
+ VERIFY( iss.eof() );
+ VERIFY( !iss.fail() );
iss.seekg(0, ios_base::beg);
- VERIFY( test = !iss.fail() );
+ VERIFY( !iss.fail() );
}
}