Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test14114.d
blob: 246277b7cc9e25cf6bdb316afb3d166529ea0817 [
file
] [
log
] [
blame
]
// REQUIRED_ARGS: -O
// https://issues.dlang.org/show_bug.cgi?id=14114
import
core
.
volatile
;
struct
Ports
{
static
ubyte B
()
{
return
volatileLoad
(
cast
(
ubyte
*)
0x0025
);
}
static
void
B
(
ubyte value
)
{
volatileStore
(
cast
(
ubyte
*)
0x0025
,
value
);
}
}