aboutsummaryrefslogtreecommitdiff
path: root/testcases
diff options
context:
space:
mode:
Diffstat (limited to 'testcases')
-rw-r--r--testcases/localfunc.c4
-rw-r--r--testcases/pass.c1
2 files changed, 1 insertions, 4 deletions
diff --git a/testcases/localfunc.c b/testcases/localfunc.c
deleted file mode 100644
index 8012c6f..0000000
--- a/testcases/localfunc.c
+++ /dev/null
@@ -1,4 +0,0 @@
-int f(int a);
-int main() {
- int f(int a, int b);
-}
diff --git a/testcases/pass.c b/testcases/pass.c
index 5d5b3dc..a7d4481 100644
--- a/testcases/pass.c
+++ b/testcases/pass.c
@@ -141,6 +141,7 @@ int aa(struct AA {int a;} p) {
}
int main() {
+ int self = sizeof self;
n.x = 1;
n.y = 2;
}