aboutsummaryrefslogtreecommitdiff
path: root/test/initializer-pointer-int-cast.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/initializer-pointer-int-cast.c')
-rw-r--r--test/initializer-pointer-int-cast.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/initializer-pointer-int-cast.c b/test/initializer-pointer-int-cast.c
new file mode 100644
index 0000000..75963b2
--- /dev/null
+++ b/test/initializer-pointer-int-cast.c
@@ -0,0 +1,2 @@
+int x;
+long p = (long)&x;