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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [nsdmi-list2.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/50930
2
// { dg-options -std=c++0x }
3
 
4
struct nmc {
5
 nmc() = default;
6
 nmc(nmc&&) = delete; // line 3
7
};
8
 
9
struct A { // line 6
10
 nmc n{};
11
 nmc n2 = {};
12
} a; // line 8
13
 
14
// ------
15
 
16
struct lock_t {
17
  int lock[4];
18
};
19
 
20
struct pthread_mutex_t {
21
  volatile lock_t __spinlock;
22
};
23
 
24
struct mutex {
25
  pthread_mutex_t m = { };
26
  mutex() = default;
27
};
28
 
29
int main()
30
{
31
  mutex mx;
32
}

powered by: WebSVN 2.1.0

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