Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype14.C
blob: 9484173cd98f0b6e31f17157d1604f32e80601fa [
file
] [
log
] [
blame
]
// PR c++/37540
struct
A
{
int
g
()
{
return
0
;}
};
template
<
typename
T_
>
void
f
(
A a
)
{
__decltype
(
a
.
g
())
i
;
}
int
main
()
{
f
<int>
(
A
());
}