about summary refs log tree commit diff
path: root/tests/codegen
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2024-03-12 06:40:23 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2024-03-14 14:10:45 +0000
commit8332b47cae210e88457ea466e4cd48265f05f113 (patch)
tree4fc111830c36eed13c7611fcb0510a14a9508483 /tests/codegen
parent54d83beb3897fcfbc79e26fce467792ae5857ffb (diff)
Stop walking the bodies of statics for reachability, and evaluate them instead
Diffstat (limited to 'tests/codegen')
-rw-r--r--tests/codegen/dont_codegen_private_const_fn_only_used_in_const_eval.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/dont_codegen_private_const_fn_only_used_in_const_eval.rs b/tests/codegen/dont_codegen_private_const_fn_only_used_in_const_eval.rs
index 723ac015cdc..eeeaebe52dd 100644
--- a/tests/codegen/dont_codegen_private_const_fn_only_used_in_const_eval.rs
+++ b/tests/codegen/dont_codegen_private_const_fn_only_used_in_const_eval.rs
@@ -7,4 +7,4 @@ const fn foo() {}
 
 pub static FOO: () = foo();
 
-// CHECK: define{{.*}}foo{{.*}}
+// CHECK-NOT: define{{.*}}foo{{.*}}