File: libc_a.c

package info (click to toggle)
abicheck 1.2-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 404 kB
  • sloc: perl: 2,667; ansic: 45; makefile: 32; sh: 28
file content (15 lines) | stat: -rw-r--r-- 337 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * Copyright (c) 2001 by Sun Microsystems, Inc.  All rights reserved.
 * Use is subject to license terms.
 */

/* This is used to catch libc.a linking. See Makefile & run_tests */

#include <stdlib.h>
#include <math.h>

main() {
	/* libm interface is called just to get some dynamic binding */
	printf("%f\n", cos(0.0));	
	exit(3);
}