OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libstdc++-v3/] [testsuite/] [29_atomics/] [atomic_integral/] [operators/] [bitwise_neg.cc] - Blame information for rev 749

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 742 jeremybenn
// { dg-options "-std=gnu++0x" }
2
// { dg-do compile }
3
// -*- C++ -*-
4
 
5
// Copyright (C) 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
6
 
7
// This library is free software; you can redistribute it and/or
8
// modify it under the terms of the GNU General Public License as
9
// published by the Free Software Foundation; either version 3, or (at
10
// your option) any later version.
11
 
12
// This library is distributed in the hope that it will be useful, but
13
// WITHOUT ANY WARRANTY; without even the implied warranty of
14
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15
// General Public License for more details.
16
 
17
// You should have received a copy of the GNU General Public License
18
// along with this library; see the file COPYING3.  If not see
19
// <http://www.gnu.org/licenses/>.
20
 
21
#include <atomic>
22
#include <testsuite_common_types.h>
23
 
24
int main()
25
{
26
  __gnu_test::bitwise_assignment_operators<std::atomic_bool>();
27
  return 0;
28
}
29
 
30
// { dg-error "deleted" "" { target *-*-* } 470 }
31
// { dg-error "deleted" "" { target *-*-* } 471 }
32
// { dg-error "operator" "" { target *-*-* } 472 }
33
// { dg-error "operator" "" { target *-*-* } 473 }
34
// { dg-error "operator" "" { target *-*-* } 474 }
35
 
36
// { dg-prune-output "declared here" }

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.