aboutsummaryrefslogtreecommitdiff
path: root/tests/performance/25_short_circuit.sy
blob: a1f9b6ac1fefe945613af5b7c5a8e882b214027c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
int f() {
  putint(0);
  return 0;
}

int g() {
  putint(1);
  return 1;
}

int main () {
  return (f() && g()) || (!f() && g());
}