blob: a0211aaf4b44e431ef6c9c138cb253af18379620 [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/fail209.d(20): Error: incompatible types for ((a) -= (x)): 'float' and 'fail209.X'
---
*/
// Issue 725 - expression.c:6516: virtual Expression* MinAssignExp::semantic(Scope*): Assertion `e2->type->isfloating()' failed
class X
{
float a;
}
void main()
{
X x;
float a;
a -= x;
}