mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00

When running these tests on non-Windows, the compiler would need to cross-preprocess the .c sources before cross-compiling. DMD doesn't handle that properly (on Linux, just uses the native preprocessor, and failing badly with Apple clang on macOS). And for LDC, that would require an installed C cross-toolchain. That'd be a ridiculous effort for these 2 tests, so just preprocess and compile them like all other tests, even if the original problems were on Windows only. No harm in running these tests on Posix too while targeting Posix.
7 lines
133 B
C
7 lines
133 B
C
// REQUIRED_ARGS: -g
|
|
|
|
typedef enum
|
|
{
|
|
HasIntAndUIntValuesInt = 0,
|
|
HasIntAndUIntValuesUInt = 0x80000000
|
|
} HasIntAndUIntValues;
|