☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction88.C
☽
☼
gcc/testsuite/g++.dg/cpp1z/class-deduction88.C
code
plain
raw
1
// PR c++/86439
2
// { dg-do compile { target c++17 } }
3
4
struct NC {
5
NC() = default;
6
NC(NC const&) = delete;
7
NC& operator=(NC const&) = delete;
8
};
9
10
template <int>
11
struct C {
12
C(NC const&);
13
};
14
15
C(NC) -> C<0>;
16
17
NC nc;
18
C c(nc);