summaryrefslogtreecommitdiff
path: root/tests/edge_cases.c
blob: 218b4fcbb7fe70f8d17d13a9c472d921c612671f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
int main() {
  int zero = 0;
  int one = 1;
  int neg = 5;
  
  int div_result = 10 / (one + zero);
  
  int mod_result = neg % 3;
  
  int logical = (zero && one) || (one && zero);
  
  return div_result + mod_result + logical;
}