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
/
expr
/
cond2.C
blob
d9c2e7031f6a4965fd6cf46793611ee5c7d87964
1
struct Term { };
2
struct Boolean : Term {
3
explicit Boolean(bool);
4
};
5
struct IsZero : Term {
6
Term *eval();
7
};
8
Term*
9
IsZero::eval()
10
{
11
return true ? new Boolean(false) : this; // { dg-error "" }
12
}