projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
call optimize_cf() to delete dead-code that might arise after cond_eval
[libfirm]
/
ir
/
be
/
test
/
fehler028.c
1
/* fmt and all further parameters must be passed on the stack even for regparams */
2
#include <stdio.h>
3
#include <stdarg.h>
4
5
static void f(const char* fmt, ...)
6
{
7
va_list va;
8
va_start(va, fmt);
9
vprintf(fmt, va);
10
va_end(va);
11
}
12
13
14
int main(void)
15
{
16
f("Hallo, %s!\n", "Welt");
17
return 0;
18
}