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