☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-shift2.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/constexpr-shift2.C
code
plain
raw
1
// PR c++/94955
2
// { dg-do compile { target c++11 } }
3
4
struct S {
5
static constexpr char foo() { return 10; }
6
};
7
8
short int
9
fn (short int e)
10
{
11
return e >> S::foo();
12
}