blob: 8d4653dec9db12bc8332645c84d70f9772c6f555 [file] [log] [blame]
/* REQUIRED_ARGS: -O
* PERMUTE_ARGS:
*/
// https://issues.dlang.org/show_bug.cgi?id=18534
auto blah(char ch) { return ch; }
auto foo(int i)
{
return blah(i ? 'A' : 'A');
}
void main()
{
auto c = foo(0);
assert(c == 'A');
}