-// Copyright (C) 2002-2014 Free Software Foundation, Inc.
+// Copyright (C) 2002-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
test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
string s("john coltrane, a love supreme");
istringstream iss(s);
oss << setbase(8);
VERIFY(oss.good());
- // setfil
+ // setfill
setfill('a');
- iss >> setfill('a');
+ iss >> setfill('a'); // { dg-warning "deprecated" }
VERIFY(iss.good());
oss << setfill('a');
VERIFY(oss.good());