Pristine Ack-5.5
[Ack-5.5.git] / lang / cem / ctest / ctprof / tp.c
1 /*
2  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3  * See the copyright notice in the ACK home directory, in the file "Copyright".
4  *
5  */
6
7 char rcs_id2[] = "$Id: tp.c,v 2.3 1994/06/24 12:09:48 ceriel Exp $" ;
8
9 /* Author: E.G. Keizer */
10
11 int fac(n) { return ( n==0 ? 1 : n*fac(n-1)) ; }
12
13 main() {
14         { int dummy ;
15                 if ( fac(6) != 720 ) printf("vernielt return waarde\n") ;
16         }
17         return 0 ;
18 }