summaryrefslogtreecommitdiff
path: root/examples/gfcc/compiler/abs.c
blob: c93b703b61bc5bcede3a7c4745026ad593e787a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
int abs (int x){
  if (x < 0){
    return 0 - x ;
    }
  else return x ;
  } ;
int main () {
  int i ;
  i = abs (16);
  } ;