blob: 83e8ae049d8d41003733677d0b05a9fd359185a5 [file] [log] [blame]
// PR c++/61135
// { dg-do compile { target c++11 } }
struct Base
{
virtual int b() const{return 1;};
};
struct Super:Base{};
int main()
{
constexpr Super s = Super();
[&]{s.b();}();
}