Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-shift2.C
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
();
}