• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Expect 2 errors (one per function)
2
3float x;
4float y;
5
6void rem()    { x = x % y; }
7void rem_eq() { x %= y; }
8
9/*%%*
10type mismatch: '%' cannot operate on 'float', 'float'
11type mismatch: '%=' cannot operate on 'float', 'float'
12*%%*/
13