Moved bug250.c to test/val as it is fixed.
This commit is contained in:
parent
3ea3887c77
commit
1abb9da2b2
1 changed files with 13 additions and 0 deletions
13
test/val/bug250.c
Normal file
13
test/val/bug250.c
Normal file
|
@ -0,0 +1,13 @@
|
|||
/* bug #250 - Array size compile-time optimization stops halfway */
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#define LZO_MAX(a,b) ((a) >= (b) ? (a) : (b))
|
||||
unsigned char c[2*4];
|
||||
unsigned char b[2*LZO_MAX(8,sizeof(int))]; // this will not compile
|
||||
|
||||
int main(void)
|
||||
{
|
||||
/* FIXME: add some runtime check */
|
||||
return EXIT_SUCCESS;
|
||||
}
|
Loading…
Add table
Reference in a new issue