Debian Codegraph @

gcc/testsuite/gdc.test/fail_compilation/fail18417.d

raw
1 // REQUIRED_ARGS: -de
2 /*
3 TEST_OUTPUT:
4 ---
5 fail_compilation/fail18417.d(11): Deprecation: `const` postblit is deprecated. Please use an unqualified postblit.
6 fail_compilation/fail18417.d(12): Deprecation: `immutable` postblit is deprecated. Please use an unqualified postblit.
7 fail_compilation/fail18417.d(13): Deprecation: `shared` postblit is deprecated. Please use an unqualified postblit.
8 ---
9 */
10
11 struct A { this(this) const {} }
12 struct B { this(this) immutable {} }
13 struct C { this(this) shared {} }