aboutsummaryrefslogtreecommitdiff
path: root/test/cast-vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/cast-vm.c')
-rw-r--r--test/cast-vm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/cast-vm.c b/test/cast-vm.c
new file mode 100644
index 0000000..6901e73
--- /dev/null
+++ b/test/cast-vm.c
@@ -0,0 +1,6 @@
+int main(void) {
+ int l = 0;
+ (int (*)[++l])0;
+ (int (*(*)(void))[++l])0;
+ return l != 2;
+}