aboutsummaryrefslogtreecommitdiff
path: root/testcases
diff options
context:
space:
mode:
authorTeddy <[email protected]>2014-04-10 16:30:04 +0800
committerTeddy <[email protected]>2014-04-10 16:30:04 +0800
commitfe75fc6d0569f6df7ff33c96566873eb3ff10dc2 (patch)
tree3a4ed740d7ddce2675054da4e77a73546d0bf848 /testcases
parent75166de986b1638faf6473cb3655d42d7e59a22d (diff)
fixed several bugs, see TODO
Diffstat (limited to 'testcases')
-rw-r--r--testcases/pass.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/testcases/pass.c b/testcases/pass.c
index ebcae0a..4d9041e 100644
--- a/testcases/pass.c
+++ b/testcases/pass.c
@@ -82,6 +82,10 @@ int fp(int a, int b, int c) {
f = &fp + 1;
}
+int f(int f()) {
+ f(complex_pointer);
+}
+
struct Node n;
struct Node {int x, y;} n;
/* global forward declaration is ok */