Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype22.C
blob: b3ff8b84a43975afb393c8541cff8ddadbd4fc39 [
file
] [
log
] [
blame
]
// PR c++/42761
// { dg-do compile { target c++11 } }
template
<
typename
_Tp
>
_Tp
*
fn
();
template
<
class
T
>
struct
A
{
template
<
class
U
,
class
S
=
decltype
(
fn
<
T
>())>
struct
B
{
};
};
A
<int>
a
;