repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
init
/
float1.C
blob
d18ff3db0a2f716776fad406190ef1beabb92fb2
1
// 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
}