There are cases where clang incorrectly reports constant initalisers as being not constant. I've attached a test case which should pass semantic analysis but currently does not.

It won't compile as we don't support complex global initalisers yet -- that's what i'm working on, and thus why i found this :D

Attachment: simpleTest.c
Description: Binary data



--Oliver

_______________________________________________
cfe-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

Reply via email to