1 /* REQUIRED_ARGS: -de -unittest
4 fail_compilation/fail21830.d(24): Deprecation: struct `fail21830.OldS21830` is deprecated - Deprecated type
5 fail_compilation/fail21830.d(24): Deprecation: template `fail21830.test21830(T)(T t) if (is(T == OldS21830))` is deprecated - Deprecated template
6 fail_compilation/fail21830.d(24): Deprecation: struct `fail21830.OldS21830` is deprecated - Deprecated type
10 deprecated("Deprecated type")
17 auto test21830(T
)(T t
)
18 if (is(T
== NewS21830
))
24 deprecated("Deprecated template")
25 auto test21830(T
)(T t
)
26 if (is(T
== OldS21830
))
33 auto b
= test21830(OldS21830());