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/] [init/] [float1.C] - Blame information for rev 307

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

Line No. Rev Author Line
1 301 jeremybenn
// PR c++/21089
2
// { dg-do run }
3
 
4
extern "C" void abort();
5
 
6
static const double a = 1.0;
7
struct S {
8
  S();
9
};
10
static S s;
11
static const double b = a + 1.0;
12
 
13
S::S() {
14
  if (b < 1.9 || b > 2.1)
15
    abort ();
16
}
17
 
18
int main () {
19
}

powered by: WebSVN 2.1.0

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