projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Test case for historical reasons
[libfirm]
/
ir
/
be
/
test
/
ByteTest.c
1
#include <stdio.h>
2
3
int atoi(const char *s);
4
5
int main(int argc, char *argv[])
6
{
7
unsigned char a, b, c;
8
9
printf("ByteTest.c\n");
10
11
a = atoi("200");
12
b = atoi("56");
13
14
c = a+b;
15
printf(" 200 + 56 = %d (expected 0)\n", c);
16
17
return 0;
18
}