Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype56.C
blob: b44fad098fe65fe3cf46a63ed8d8c88c135831a4 [
file
] [
log
] [
blame
]
// PR c++/52816
// { dg-do compile { target c++11 } }
class
c
{
int
f
;
public
:
template
<
typename
A
>
decltype
(
f
)
m
(
A
)
const
;
};
decltype
(
c
{}.
m
(
0
))
i
;