TB21 / data /compile-compcert /tests /negative_probe.c
zhangdw's picture
Add verified Terminal-Bench TB21 task snapshot and image inventory
ecc5f1a verified
Raw History Blame Contribute Delete
196 Bytes
#include <stdio.h>
int test_vla(int n) {
// CompCert does not support variable-length arrays (VLAs).
int vla_array[n];
return sizeof(vla_array);
}
int main(void) {
return test_vla(5);
}