projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
removed dependency of type.h
[libfirm]
/
ir
/
be
/
test
/
trivial_extern_add.c
1
/*
2
* loads/stores from/to variables
3
* Shows the sel node
4
*/
5
#include <stdio.h>
6
7
int a;
8
int b;
9
int c;
10
11
void add_a_and_b_to_c(void)
12
{
13
c = a + b;
14
}
15
16
int main(int argc, char *argv[])
17
{
18
a = 1;
19
b = 42;
20
add_a_and_b_to_c();
21
printf("%d %p %p %p\n", c, stdin, stdout, stderr);
22
return 0;
23
}