aboutsummaryrefslogtreecommitdiff
path: root/res/test_const_ok.tpc
blob: caf647c5d2d7a2b6a3c917f83207000ddcd15222 (plain)
1
2
3
4
5
6
7
8
9
const c1 = 1;
const c2 = 2;

entier main(void) {
  const c2 = 3;
  const c3 = 4;
  print(c1 + c2 + c3); /* expect: 1+3+4 = 8 */
  return 0;
}