Fix undefined identifiers resulting in incorrect types
This commit is contained in:
parent
fc587fae03
commit
32c9843548
3 changed files with 30 additions and 2 deletions
|
|
@ -49,6 +49,21 @@ extern "C" {
|
|||
|
||||
#define ALLSHL (SHL1 | SHL2 | SHL3)
|
||||
|
||||
// const not supported yet
|
||||
const int SOME_CONST = 8;
|
||||
|
||||
struct some_struct_s
|
||||
{
|
||||
int x;
|
||||
};
|
||||
|
||||
struct parent_struct_s
|
||||
{
|
||||
struct some_struct_s s[SOME_CONST];
|
||||
};
|
||||
|
||||
typedef struct some_struct_s SOME_ARRAY[SOME_CONST];
|
||||
|
||||
struct A0;
|
||||
struct A1 {};
|
||||
typedef struct A2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue