Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
diag9398.d
blob: 67900c9bc6c58333ab0a3cb9c3f2731e9004b8ef [
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
);
}