nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
compiler: Refactor `AbstractRuntimeFunction`
[nit.git]
/
tests
/
test_native_array.nit
diff --git
a/tests/test_native_array.nit
b/tests/test_native_array.nit
index
aac7a83
..
467fa78
100644
(file)
--- a/
tests/test_native_array.nit
+++ b/
tests/test_native_array.nit
@@
-13,11
+13,11
@@
# limitations under the License.
class Toto
- super ArrayCapable[Int]
+
fun toto
do
- var a = calloc_array(3)
+ var a = new NativeArray[Int](3)
a[0] = 10
a[1] = 20
a[2] = 30