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

This follows PR #15415 which added Intel CET IBT support and LDC PR #4437 to add support for the new CET target in order to maintain a common interface between DMD and LDC. Later it would be useful to do the same for GDC as well.
5 lines
124 B
D
5 lines
124 B
D
// REQUIRED_ARGS: -fIBT
|
|
|
|
// Test for Intel CET IBT (branch) protection
|
|
|
|
static assert(__traits(getTargetInfo, "CET") == 1);
|