about summary refs log tree commit diff
path: root/tests/codegen/char-escape-debug-no-bounds-check.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/char-escape-debug-no-bounds-check.rs')
-rw-r--r--tests/codegen/char-escape-debug-no-bounds-check.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/codegen/char-escape-debug-no-bounds-check.rs b/tests/codegen/char-escape-debug-no-bounds-check.rs
deleted file mode 100644
index cfde46045e5..00000000000
--- a/tests/codegen/char-escape-debug-no-bounds-check.rs
+++ /dev/null
@@ -1,14 +0,0 @@
-//@ compile-flags: -Copt-level=3
-#![crate_type = "lib"]
-
-use std::char::EscapeDebug;
-
-// Make sure no bounds checks are emitted when escaping a character.
-
-// CHECK-LABEL: @char_escape_debug_no_bounds_check
-#[no_mangle]
-pub fn char_escape_debug_no_bounds_check(c: char) -> EscapeDebug {
-    // CHECK-NOT: panic
-    // CHECK-NOT: panic_bounds_check
-    c.escape_debug()
-}