blob: 9b3490a66a712fb0cfa476b9262ce61ebec53d7c [file] [log] [blame]
// PR c++/94955
// { dg-do compile { target c++11 } }
struct S {
static constexpr char foo() { return 10; }
};
short int
fn (short int e)
{
return e >> S::foo();
}