Add unchecked_reference::operator() and operator[] to overload resolution of unchecked_mutable_reference (#2514)
diff --git a/tests/test_numpy_array.py b/tests/test_numpy_array.py
index a36e707..e3e7c5f 100644
--- a/tests/test_numpy_array.py
+++ b/tests/test_numpy_array.py
@@ -364,6 +364,9 @@
assert m.proxy_auxiliaries2(z1) == [11, 11, True, 2, 8, 2, 2, 4, 32]
assert m.proxy_auxiliaries2(z1) == m.array_auxiliaries2(z1)
+ assert m.proxy_auxiliaries1_const_ref(z1[0, :])
+ assert m.proxy_auxiliaries2_const_ref(z1)
+
def test_array_unchecked_dyn_dims(msg):
z1 = np.array([[1, 2], [3, 4]], dtype='float64')