projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d7dd10
)
more constant expression fun
author
Matthias Braun
<matze@braunis.de>
Wed, 30 Jul 2008 19:10:38 +0000
(19:10 +0000)
committer
Matthias Braun
<matze@braunis.de>
Wed, 30 Jul 2008 19:10:38 +0000
(19:10 +0000)
[r20825]
parsetest/constexpr2.c
[new file with mode: 0644]
patch
|
blob
diff --git a/parsetest/constexpr2.c
b/parsetest/constexpr2.c
new file mode 100644
(file)
index 0000000..
7633e0a
--- /dev/null
+++ b/
parsetest/constexpr2.c
@@ -0,0
+1,9
@@
+struct foo {
+ int a;
+ int b;
+};
+int glob = (int) &((struct foo*)0)->b;
+
+int main(void) {
+ return 0;
+}