Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
diag9398.d
blob: fe7e40081f3608e88a35ff1aef5cba9da403281e [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/diag9398.d(11): Error: incompatible types for `(f) : (s)`: `float` and `string`
---
*/
void
main
()
{
float
f
;
string
s
;
auto
a
=
(
true
?
f
:
s
);
}