Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype38.C
blob: 97ebb33a0311656698137778daca9c27a27ca133 [
file
] [
log
] [
blame
]
// PR c++/53498
// { dg-do compile { target c++11 } }
template
<
typename
...
Args
>
struct
B
{
template
<
typename
U
>
static
void
b
(
const
U
&
u
,
const
Args
&...
args
,
decltype
(
u
.
f
(
args
...))
dummy
)
{
}
};
int
main
()
{
B
<int>
b
;
}