Skip to content

Commit 10762d5

Browse files
committed
Fix debuginfo-lto-alloc.rs test
This should have used build-pass rather than check-pass.
1 parent f8f6997 commit 10762d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/ui/lto/debuginfo-lto-alloc.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
// This test reproduces the circumstances that caused the error to appear, and checks
99
// that compilation is successful.
1010

11-
//@ check-pass
11+
//@ build-pass
1212
//@ compile-flags: --test -C debuginfo=2 -C lto=fat
13+
//@ no-prefer-dynamic
1314
//@ incremental
1415

1516
extern crate alloc;

0 commit comments

Comments
 (0)