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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [constexpr-ctor5.C] - Blame information for rev 707

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

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/46877
2
// { dg-options -std=c++0x }
3
 
4
struct new_allocator
5
{
6
  constexpr new_allocator ();
7
};
8
 
9
struct string
10
{
11
  constexpr string ()
12
  {
13
  }
14
  new_allocator a;
15
};
16
 
17
struct pair
18
{
19
  const string first;
20
  constexpr pair ()
21
  {
22
  }
23
};
24
 
25
constexpr
26
new_allocator::new_allocator ()
27
{
28
}
29
 
30
pair p;

powered by: WebSVN 2.1.0

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