1 // PR c+++/67592 2 // { dg-do compile { target c++11 } } 3 4 struct S { fS5 constexpr virtual int f() { return 1; } // { dg-error "13:member .f. can be declared both .virtual. and .constexpr." "" { target c++17_down } } 6 }; 7