OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* lib/g++-dg.exp (g++-dg-test): Add "repo" option.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
crash12.C
1
// { dg-do assemble }
2
// Bug: g++ dies instead of flagging this invalid.
3
4
inline float max(float x, float y) { return (x>y)?x:y; }
5
6
float b(float x, float y, float z)
7
{
8
float f = (y<x)?x:(max<y)?z:y; // { dg-error "" }
9
return f;
10
}