dmd/compiler/test/compilable/cet_ibt.d
Ernesto Castellotti a2695d8822
Add Intel CET to getTargetInfo (#15433)
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.
2023-08-27 10:35:41 +02:00

5 lines
124 B
D

// REQUIRED_ARGS: -fIBT
// Test for Intel CET IBT (branch) protection
static assert(__traits(getTargetInfo, "CET") == 1);