projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
440dfd4
)
cp_error041: Pointer arithmetic with pointer to an enum bitfield
author
Moritz Kroll
<Moritz.Kroll@gmx.de>
Tue, 5 Aug 2008 02:21:15 +0000
(
02:21
+0000)
committer
Moritz Kroll
<Moritz.Kroll@gmx.de>
Tue, 5 Aug 2008 02:21:15 +0000
(
02:21
+0000)
[r20981]
parsetest/cp_error041.c
[new file with mode: 0644]
patch
|
blob
diff --git a/parsetest/cp_error041.c
b/parsetest/cp_error041.c
new file mode 100644
(file)
index 0000000..
30a2831
--- /dev/null
+++ b/
parsetest/cp_error041.c
@@ -0,0
+1,15
@@
+typedef enum {
+ blub
+} pr_opcode_e;
+
+typedef struct statement_s {
+ pr_opcode_e op:16;
+} dstatement_t;
+
+dstatement_t *ptr;
+
+int main(void)
+{
+ ptr++;
+ return 0;
+}