aboutsummaryrefslogtreecommitdiff
path: root/testcases
diff options
context:
space:
mode:
authorTeddy <[email protected]>2014-04-12 11:09:27 +0800
committerTeddy <[email protected]>2014-04-12 11:09:27 +0800
commitad4582dfc2bb0c50d6972881ed845a473c40ca71 (patch)
tree1d41ed222e8205a2fd16a507e3721095b4acf48f /testcases
parent34495ef7b97f3220462c974f06f1cd9c652f2a03 (diff)
fix bugs in function declaration & prototype
Diffstat (limited to 'testcases')
-rw-r--r--testcases/pass.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/testcases/pass.c b/testcases/pass.c
index a1d3705..bf995ac 100644
--- a/testcases/pass.c
+++ b/testcases/pass.c
@@ -106,6 +106,9 @@ void local_decl() {
struct Node n;
struct Node {int x, y;} n;
/* global forward declaration is ok */
+int again;
+int again;
+
int main() {
n.x = 1;
n.y = 2;