re-added negative-array-size testcase and fixed fix for it
This commit is contained in:
@ -2083,6 +2083,8 @@ void *bounds_checking_is_enabled()
|
||||
{
|
||||
char ca[10], *cp = ca-1;
|
||||
return (ca != cp + 1) ? cp : NULL;
|
||||
}
|
||||
|
||||
typedef int constant_negative_array_size_as_compile_time_assertion_idiom[(1 ? 2 : 0) - 1];
|
||||
|
||||
void c99_vla_test(int size1, int size2)
|
||||
|
||||
Reference in New Issue
Block a user