-// { dg-options "-std=gnu++11" }
+// { dg-do run { target c++11 } }
// 2008-06-13 Paolo Carlini <paolo.carlini@oracle.com>
//
-// Copyright (C) 2008-2014 Free Software Foundation, Inc.
+// Copyright (C) 2008-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
// DR 776. Undescribed assign function of std::array.
void test01()
-{
- bool test __attribute__((unused)) = true;
-
+{
const size_t len = 3;
typedef std::array<int, len> array_type;