From a27f3e3fd1e4d16160f8885b6b06665b5319f56c Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Mon, 21 Jul 2025 14:34:12 +0200 Subject: Rename `tests/codegen` into `tests/codegen-llvm` --- tests/codegen-llvm/cfguard-disabled.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/codegen-llvm/cfguard-disabled.rs (limited to 'tests/codegen-llvm/cfguard-disabled.rs') diff --git a/tests/codegen-llvm/cfguard-disabled.rs b/tests/codegen-llvm/cfguard-disabled.rs new file mode 100644 index 00000000000..90915c0f0c6 --- /dev/null +++ b/tests/codegen-llvm/cfguard-disabled.rs @@ -0,0 +1,10 @@ +//@ compile-flags: -C control-flow-guard=no +//@ only-msvc + +#![crate_type = "lib"] + +// A basic test function. +pub fn test() {} + +// Ensure the module flag cfguard is not present +// CHECK-NOT: !"cfguard" -- cgit 1.4.1-3-g733a5