1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 21:32:19 +00:00
cc65/test/ref/cc65091022.c

23 lines
356 B
C
Raw Normal View History

2014-09-24 14:45:10 +00:00
/*
!!DESCRIPTION!!
!!ORIGIN!! testsuite
!!LICENCE!! Public Domain
!!AUTHOR!! Johan Kotlinski
*/
#include <stdio.h>
2014-09-24 14:45:10 +00:00
/*
...gives "test.c(2): Error: Variable 'foo' has unknown size" using -Cl.
2014-09-24 14:45:10 +00:00
Is it really unknown?
cc65 V2.13.0, SVN version: 4384
*/
int main() {
char foo[] = { 0 };
printf("it works :)\n");
return 0;
}