Disable windows check

This commit is contained in:
Joey Yakimowich-Payne 2020-05-12 17:18:47 -06:00
commit 485770dfaf
2 changed files with 7 additions and 3 deletions

View file

@ -49,8 +49,10 @@ extern "C" {
#define ALLSHL (SHL1 | SHL2 | SHL3) #define ALLSHL (SHL1 | SHL2 | SHL3)
// disable for windows for now
#ifndef _WIN32
// const not supported yet // const not supported yet
static const int SOME_CONST = 8; const int SOME_CONST = 8;
struct some_struct_s struct some_struct_s
{ {
@ -63,6 +65,7 @@ struct parent_struct_s
}; };
typedef struct some_struct_s SOME_ARRAY[SOME_CONST]; typedef struct some_struct_s SOME_ARRAY[SOME_CONST];
#endif
struct A0; struct A0;
struct A1 {}; struct A1 {};

View file

@ -155,6 +155,7 @@ assert typeof(POINTERPOINTERPOINTEREXPR) is (ptr ptr ptr cint)
assert ALLSHL == (SHL1 or SHL2 or SHL3) assert ALLSHL == (SHL1 or SHL2 or SHL3)
when not defined(windows):
assert not compiles(parent_struct_s().s) assert not compiles(parent_struct_s().s)
assert not defined(SOME_ARRAY) assert not defined(SOME_ARRAY)