forked from OSchip/llvm-project
Fix accidental use of VLAs that causes these tests to fail after Clang
commit 552c6c2328
.
This commit is contained in:
parent
d30155feaa
commit
efd02c1548
|
@ -24,7 +24,7 @@
|
|||
|
||||
int main(int argc, char **argv) {
|
||||
assert(argc >= 2);
|
||||
const size_t size = 100;
|
||||
enum { size = 100 };
|
||||
char fill = 'o';
|
||||
char s1[size];
|
||||
char s2[size];
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
int main(int argc, char **argv) {
|
||||
assert(argc >= 2);
|
||||
const size_t size = 100;
|
||||
enum { size = 100 };
|
||||
char fill = 'o';
|
||||
char s1[size];
|
||||
char s2[size];
|
||||
|
|
Loading…
Reference in New Issue