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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [opt/] [pr28116.C] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O3" } */
3
 
4
struct QDateTime
5
{
6
    QDateTime addSecs( int secs ) const;
7
    int t;
8
};
9
QDateTime gridToDate(long x)
10
{
11
  QDateTime date;
12
  date = date.addSecs(1);
13
  return date;
14
}
15
void whatsOnAt(long x, long y)
16
{
17
  gridToDate(x);
18
}
19
 

powered by: WebSVN 2.1.0

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