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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [opt/] [pr17411-1.C] - Blame information for rev 316

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

Line No. Rev Author Line
1 301 jeremybenn
// PR middle-end/17411
2
// { dg-do compile }
3
// { dg-options "-O2" }
4
 
5
struct CalibData {
6
  float mean_pedestal;
7
};
8
 
9
struct pair
10
{
11
  CalibData second;
12
  pair(const CalibData& __b) : second(__b) { }
13
};
14
 
15
void insert(const pair& __x);
16
 
17
void foo()
18
{
19
  insert(pair(CalibData()));
20
}
21
 

powered by: WebSVN 2.1.0

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