mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
9 lines
138 B
D
9 lines
138 B
D
// REQUIRED_ARGS: -O
|
|
|
|
void main()
|
|
{
|
|
int[32] data;
|
|
auto p1 = data.ptr + 0;
|
|
auto p2 = data.ptr + 3;
|
|
assert(p2 - p1 == 3);
|
|
}
|