Re: [PATCH 10/13] Fix location for static class members
On Wed, Apr 25, 2012 at 8:55 AM, Dodji Seketeli wrote: > Consider the test case g++.dg/other/offsetof5.C: > > #include > > struct A > { > char c; > int &i; > }; > > int j = offsetof (A, i); // { dg-warning "invalid > access|offsetof" } > > template > st
[PATCH 10/13] Fix location for static class members
Consider the test case g++.dg/other/offsetof5.C: #include struct A { char c; int &i; }; int j = offsetof (A, i);// { dg-warning "invalid access|offsetof" } template struct S { T h; T &i; static const int j = offsetof (