MSVC accepts static int x7; extern __declspec(selectany) int x7;
But it also accepts static int x7; extern int x7; That seems like a separate issue. It doesn't seem that important to me to accept this. Clang errors out with 'attribute declaration must precede definition', which doesn't seem useful to have in that test. OK to commit as is? On Fri, May 17, 2013 at 3:36 PM, Rafael Ávila de Espíndola < [email protected]> wrote: > > Should > > static int x; > extern __declspec(selectany) int x; > > work or be rejected? If rejected, LGTM with it added as a test. > > http://llvm-reviews.chandlerc.com/D814 > > BRANCH > selectany > > ARCANIST PROJECT > clang >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
