http://llvm.org/bugs/show_bug.cgi?id=6495
Daniel Lowe <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #4 from Daniel Lowe <[email protected]> 2010-04-22 09:06:40 CDT --- Almost fixed. The test case I gave was fixed, but this doesn't work: $ echo 'extern const int my_ints[] = {42,43,44};' >example_a.cc $ echo 'int main(int argc, char *argv[]) {extern int my_ints[]; return my_ints[0];}' >example_b.cc $ clang++ example_a.cc example_b.cc example_a.cc:1:18: warning: 'extern' variable has an initializer extern const int my_ints[] = {42,43,44}; ^ 1 diagnostic generated. Thanks for the great response time, though! -- Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
