[go: up one dir, main page]

File: s-exp-char.c

package info (click to toggle)
uftrace 0.9.0-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 3,896 kB
  • sloc: ansic: 41,425; python: 7,369; makefile: 698; asm: 488; cpp: 461; sh: 349
file content (21 lines) | stat: -rw-r--r-- 250 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <stdint.h>

char foo(char a, unsigned char b, int8_t c)
{
	return 'd';
}

char bar(char a, char b, char c, char d)
{
	return 0;
}

int main(void)
{
	char d;

	d = foo('f', 'o', 'o');
	d += bar(0, 'B', 'a', 'r');

	return d == 'd' ? 0 : 1;
}