>> On Dec 8, 2007, at 5:33 AM, Alexey Zakhlestin wrote:
>>
>>> $ cat test.c
>>> int main(void)
>>> {
>>> static char const test[] = "test";
>>> }
>>>
>>> $ clang -fsyntax-only test.c
>>> test.c:3:20: error: variable has incomplete type 'char const []'
>>> static char const test[] = "test";
>>> ^
>>> 1 diagnostic generated.
This should work now, thanks to Steve and Anders for improving sema
to handle this.
-chris
_______________________________________________
cfe-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev