Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction63.C
blob: 4fc66fcbe1596c06254b27d177e6e26e64b01f6b [
file
] [
log
] [
blame
]
// PR c++/88869
// { dg-do compile { target c++17 } }
template
<typename>
struct
B
;
template
<>
struct
B
<int>
{
template
<
typename
T
>
struct
C
{
T e
;
C
(
T f
)
:
e
(
f
)
{}
};
void
foo
()
{
C c
(
42
);
}
};