restored gfcc example (GF C compiler)

This commit is contained in:
aarne
2010-03-02 19:10:56 +00:00
parent 21b10f91cb
commit e4748e9984
15 changed files with 2169 additions and 0 deletions

20
examples/gfcc/abs.c Normal file
View File

@@ -0,0 +1,20 @@
int abs (int x){
int y ;
{
if (x < 0){
y = 0 - x ;
}
else {
y = x ;
}
}
return y ;
} ;
int main () {
int i ;
i = abs (16);
printf ("%d",i) ;
return ;
} ;