1 2 3 4 5 6 7 8
const expect = @import("std").testing.expect; test "volatile" { const mmio_ptr: *volatile u8 = @ptrFromInt(0x12345678); try expect(@TypeOf(mmio_ptr) == *volatile u8); } // test