http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51650

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-22 
11:44:04 UTC ---
Reduced testcase:

struct T;
class C
{
public:
    typedef ::T T;
    static T *m ()
      {
        static T *d;
        return d;
      }
};
int
fn ()
{
  C::m ();
}
int main() {}

Reply via email to