int main() { double x = 1; x %= 1.; return 0; }
Standard input is empty
prog.cpp: In function 'int main()': prog.cpp:4:4: error: invalid operands of types 'double' and 'double' to binary 'operator%' x %= 1.; ^ prog.cpp:4:4: error: in evaluation of 'operator%=(double, double)'
Standard output is empty