// PR c++/49369 // { dg-do compile { target c++11 } } template struct assert_same; template struct assert_same {}; struct B { int member; }; struct C: B { void method() const; }; void C::method() const { assert_same a; }