Sign in
gnu
/
gcc
/
93ac832f1846e4867aa6537f76f510fab8e3e87d
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
nontype-class49.C
blob: c83e4075ed070f12845cf76734dc6233b22f27e1 [
file
] [
log
] [
blame
]
// PR c++/101883
// { dg-do compile { target c++20 } }
template
<
class
T
>
struct
C
{
constexpr
C
(
int
)
{
}
};
explicit
C
(
int
)
->
C
<int>
;
template
<
C c
>
struct
X
{
};
X
<
1
>
x
;
// { dg-error "deduction|no match" }