repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove outermost loop parameter.
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
crash46.C
blob
53cbd1027f6378dcdeef57d7d8b2c5dd5a86550e
1
// { dg-do assemble }
2
// GROUPS passed old-abort
3
class Rational {
4
public:
5
Rational(int v): value(v)
6
{ }
7
8
int value;
9
};
10
typedef Rational __Rational;
11
12
extern int operator>(const Rational&, const Rational&);
13
14
class V {
15
public:
16
class Rational {
17
public:
18
static int x(const __Rational& value);
19
};
20
};
21
22
int
23
V::Rational::x(const __Rational& value)
24
{
25
return value > 0;
26
}