☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
crash12.C
☽
☼
gcc/testsuite/g++.old-deja/g++.jason/crash12.C
code
plain
raw
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
}