-// { dg-options "-std=gnu++11" }
+// { dg-do run { target c++11 } }
// { dg-additional-options "-static-libstdc++" { target *-*-mingw* } }
// 2007-08-22 Benjamin Kosnik <bkoz@redhat.com>
-// Copyright (C) 2007-2016 Free Software Foundation, Inc.
+// Copyright (C) 2007-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
// unspecified bool operator positive tests
int main()
{
- bool test __attribute__((unused)) = true;
-
// 1
std::error_code e1;
if (static_cast<bool>(e1))