Disable windows check

This commit is contained in:
Joey Yakimowich-Payne 2020-05-12 17:18:47 -06:00 • committed by genotrance
commit ed26911436
2 changed files with 7 additions and 3 deletions

View file

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

View file

@ -155,8 +155,9 @@ assert typeof(POINTERPOINTERPOINTEREXPR) is (ptr ptr ptr cint)
assert ALLSHL == (SHL1 or SHL2 or SHL3)
assert not compiles(parent_struct_s().s)
assert not defined(SOME_ARRAY)
when not defined(windows):
assert not compiles(parent_struct_s().s)
assert not defined(SOME_ARRAY)
assert A0 is object
testFields(A0, "f1!cint")