mir icon indicating copy to clipboard operation
mir copied to clipboard

c2mir: Assert failed on global variable init

Open ElonH opened this issue 2 years ago • 0 comments

#define Size 819000
int xint = sizeof(int);
int xint64 = sizeof(unsigned long long);
int x64size = asdjwcn;

int sieve (int N) {
    int i, k, prime, count, n; char flags[Size];
    return N;
}

$ ./c2m.exe -S test.c
test.c:4:22: undeclared identifier asdjwcn
Assertion failed: type->mode == TM_STRUCT || type->mode == TM_UNION, file xxxxxx\c2mir\c2mir.c, line 6082

ElonH avatar Mar 13 '22 07:03 ElonH