Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/execute/20021111-1.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* Origin: PR c/8467 */ extern void abort (void); extern void exit (int); int aim_callhandler(int sess, int conn, unsigned short family, unsigned short type); int aim_callhandler(int sess, int conn, unsigned short family, unsigned short type) { static int i = 0; if (!conn) return 0; if (type == 0xffff) { return 0; } if (i >= 1) abort (); i++; return aim_callhandler(sess, conn, family, (unsigned short) 0xffff); } int main (void) { aim_callhandler (0, 1, 0, 0); exit (0); }