Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
crash12.C
blob: c3906a8d1c630f97ccfcd9e2511c64bd8a23232b [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Bug: g++ dies instead of flagging this invalid.
inline
float
max
(
float
x
,
float
y
)
{
return
(
x
>
y
)?
x
:
y
;
}
float
b
(
float
x
,
float
y
,
float
z
)
{
float
f
=
(
y
<
x
)?
x
:(
max
<
y
)?
z
:
y
;
// { dg-error "" }
return
f
;
}