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