We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0297c08 commit 62fa82dCopy full SHA for 62fa82d
1 file changed
kmir/src/tests/integration/data/prove-rs/array_write.rs
@@ -0,0 +1,12 @@
1
+fn main() {
2
+
3
+ let mut a: [i16; 4] = [1;4];
4
5
+ a[0] = 2;
6
7
+ let b = &mut (a[1]);
8
9
+ *b = 2;
10
11
+ assert!(a[0] == a[1]);
12
+}
0 commit comments