class Test<T> {
    public void print_array (T[] array) {
        for (var i = 0; i < array.length; i++)
            message ("0x%llX", array[i]);
    }
}

void main () {
    var test = new Test<int> ();

    // choose values that are easily recognisable in hex
    int[] test_array = {15, 31, 63, 127};
    test_array.length = 2;

    test.print_array (test_array);
}
