-// { dg-options "-std=gnu++0x" }
-// { dg-do compile }
+// { dg-do run { target c++11 } }
// 2010-05-20 Paolo Carlini <paolo.carlini@oracle.com>
-// Copyright (C) 2010 Free Software Foundation, Inc.
+// Copyright (C) 2010-2023 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 test01()
{
- bool test __attribute__((unused)) = true;
using namespace __gnu_test;
OverloadedAddress* ao1 = new OverloadedAddress();
VERIFY( std::addressof(o2) == ao2 );
VERIFY( std::addressof(f1) == &f1 );
+
+ delete ao1;
+ delete ao2;
}
int main()