diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-03-12 06:40:23 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2024-03-14 14:10:45 +0000 |
| commit | 8332b47cae210e88457ea466e4cd48265f05f113 (patch) | |
| tree | 4fc111830c36eed13c7611fcb0510a14a9508483 /tests/codegen | |
| parent | 54d83beb3897fcfbc79e26fce467792ae5857ffb (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.rs | 2 |
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{{.*}} |
