projects
/
cparser
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
cp_error041: Pointer arithmetic with pointer to an enum bitfield
[cparser]
/
parsetest
/
cp_error041.c
1
typedef enum {
2
blub
3
} pr_opcode_e;
4
5
typedef struct statement_s {
6
pr_opcode_e op:16;
7
} dstatement_t;
8
9
dstatement_t *ptr;
10
11
int main(void)
12
{
13
ptr++;
14
return 0;
15
}