☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp23
/
explicit-obj-diagnostics9.C
☽
☼
gcc/testsuite/g++.dg/cpp23/explicit-obj-diagnostics9.C
code
plain
raw
1
// PR c++/113340
2
// { dg-do compile { target c++23 } }
3
4
struct S {
5
~S(this S &) = default; // { dg-error "destructors may not have parameters" }
6
};