Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype-call6.C
blob: 4173b60768952e1932c0631752efe9995b8888b0 [
file
] [
log
] [
blame
]
// PR c++/95675
// { dg-do compile { target c++11 } }
struct
a
{};
template
<typename>
struct
b
;
template
<
typename
bq
,
typename
br
>
struct
b
<
bq
(
br
)>
{
decltype
(
bq
()(
br
()))
c
;
};
struct
e
{
operator
a
();
};
b
<
e
(*(
e
))(
a
)>
d
;