more constant expression fun
authorMatthias Braun <matze@braunis.de>
Wed, 30 Jul 2008 19:10:38 +0000 (19:10 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 30 Jul 2008 19:10:38 +0000 (19:10 +0000)
[r20825]

parsetest/constexpr2.c [new file with mode: 0644]

diff --git a/parsetest/constexpr2.c b/parsetest/constexpr2.c
new file mode 100644 (file)
index 0000000..7633e0a
--- /dev/null
@@ -0,0 +1,9 @@
+struct foo {
+       int a;
+       int b;
+};
+int glob = (int) &((struct foo*)0)->b;
+
+int main(void) {
+       return 0;
+}