about summary refs log tree commit diff
path: root/tests/ui/consts/precise-drop-with-promoted.rs
diff options
context:
space:
mode:
authorDeadbeef <ent3rm4n@gmail.com>2023-07-27 15:51:02 +0000
committerDeadbeef <ent3rm4n@gmail.com>2023-07-27 15:51:02 +0000
commit2d594512741ae8725a8e67e289365746511fa96d (patch)
tree982861c4e9e03637c2a5c8c100f4ed37505b68b4 /tests/ui/consts/precise-drop-with-promoted.rs
parente6b423aebb7ef4b1f0b717243f435ac636aa79bc (diff)
downloadrust-2d594512741ae8725a8e67e289365746511fa96d.tar.gz
rust-2d594512741ae8725a8e67e289365746511fa96d.zip
update tests, adding known-bug
Diffstat (limited to 'tests/ui/consts/precise-drop-with-promoted.rs')
-rw-r--r--tests/ui/consts/precise-drop-with-promoted.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/ui/consts/precise-drop-with-promoted.rs b/tests/ui/consts/precise-drop-with-promoted.rs
index 6f2317a5a27..5da325afb72 100644
--- a/tests/ui/consts/precise-drop-with-promoted.rs
+++ b/tests/ui/consts/precise-drop-with-promoted.rs
@@ -1,6 +1,12 @@
 // Regression test for issue #89938.
-// check-pass
 // compile-flags: --crate-type=lib
+// known-bug: #103507
+// failure-status: 101
+// normalize-stderr-test "note: .*\n\n" -> ""
+// normalize-stderr-test "thread 'rustc' panicked.*\n" -> ""
+// normalize-stderr-test "(error: internal compiler error: [^:]+):\d+:\d+: " -> "$1:LL:CC: "
+// rustc-env:RUST_BACKTRACE=0
+
 #![feature(const_precise_live_drops)]
 
 pub const fn f() {