Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction72.C
blob: 60c559907a31437da3d2c7476f8acc11daed4ebe [
file
] [
log
] [
blame
]
// PR c++/91759
// { dg-do compile { target c++17 } }
namespace
N
{
template
<
typename
T
>
struct
X
{
X
(
int
);
};
// { dg-message "declared here" }
}
using
N
::
X
;
X
(
int
)
->
X
<int>
;
// { dg-error "must be declared in the same scope as" }