(root)/
gcc-13.2.0/
gcc/
testsuite/
gdc.test/
fail_compilation/
diag9398.d
/*
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);
}