1 // PR c++/94955
2 // { dg-do compile { target c++11 } }
3 
4 struct S {
fooS5   static constexpr char foo() { return 10; }
6 };
7 
8 short int
fn(short int e)9 fn (short int e)
10 {
11   return e >> S::foo();
12 }
13