2 REQUIRED_ARGS: -checkaction=context
3 EXTRA_SOURCES: extra-files/minimal/object.d
6 /************************************************************/
11 fail_compilation/verifyhookexist.d(22): Error: `object.__ArrayCast` not found. The current runtime does not support casting array of structs, or the runtime is corrupt.
12 fail_compilation/verifyhookexist.d(28): Error: `object.__equals` not found. The current runtime does not support equal checks on arrays, or the runtime is corrupt.
13 fail_compilation/verifyhookexist.d(29): Error: `object.__cmp` not found. The current runtime does not support comparing arrays, or the runtime is corrupt.
14 fail_compilation/verifyhookexist.d(33): Error: `object._d_assert_fail` not found. The current runtime does not support generating assert messages, or the runtime is corrupt.
15 fail_compilation/verifyhookexist.d(36): Error: `object.__switch` not found. The current runtime does not support switch cases on strings, or the runtime is corrupt.
16 fail_compilation/verifyhookexist.d(41): Error: `object.__switch_error` not found. The current runtime does not support generating assert messages, or the runtime is corrupt.
20 struct MyStruct
{ int a
, b
; }
21 MyStruct
[] castToMyStruct(int[] arr
) {
22 return cast(MyStruct
[])arr
;
28 bool a
= arrA
[] == arrB
[];