mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-05 01:20:51 +03:00

Relevant version identifiers PRs: https://github.com/dlang/dmd/pull/6994 https://github.com/dlang/dlang.org/pull/1822
12 lines
193 B
D
12 lines
193 B
D
// REQUIRES: target_MSP430
|
|
|
|
// RUN: %ldc -mtriple=msp430 -o- %s
|
|
|
|
void* ptr;
|
|
static assert(ptr.sizeof == 2);
|
|
|
|
version(D_P16) {}
|
|
else static assert(0);
|
|
|
|
version(MSP430) {}
|
|
else static assert(0);
|