projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
692d710
)
error biting us with 'make bootstrap2'
author
Matthias Braun
<matze@braunis.de>
Mon, 14 Jul 2008 13:54:47 +0000
(13:54 +0000)
committer
Matthias Braun
<matze@braunis.de>
Mon, 14 Jul 2008 13:54:47 +0000
(13:54 +0000)
[r20444]
parsetest/cp_error035.c
[new file with mode: 0644]
patch
|
blob
diff --git a/parsetest/cp_error035.c
b/parsetest/cp_error035.c
new file mode 100644
(file)
index 0000000..
76f23f5
--- /dev/null
+++ b/
parsetest/cp_error035.c
@@ -0,0
+1,20
@@
+int printf(const char *str, ...);
+
+int printpass(int x) {
+ printf("Val: %d\n", x);
+ return x;
+}
+
+int f(int g) {
+ int k = g * 2;
+
+ printf ("pass1\n");
+
+ int arr[printpass(k)];
+ printf ("pass2: %zd\n", sizeof(arr));
+ return 0;
+}
+
+int main(void) {
+ return f(10);
+}