Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
();
}