Files
Jeroen Ketema f649def3f8 C++: Silence a number of bogus consistency errors in syntax zoo
These were due to several functions occurring that would have the same TRAP
key. By making the functions static the TRAP keys will differ from each other.
2023-03-03 11:16:19 +01:00

16 lines
337 B
C

int atoi(const char*);
static int f(int argc, char** argv)
{
char* matrix[argc][atoi(argv[1])];
return 0;
}
int getInt(void);
void vla_typedef(void) {
typedef char myType[10 * 4][3 + getInt()][3][90 * getInt()];
myType var;
char c1, c2 = 'x', buf[10 * 4][2 + getInt()][3][80 * getInt()], buf2[getInt()], *ptr = buf;
}