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