about summary refs log tree commit diff
path: root/tests/coverage/auxiliary/inline_mixed_helper.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/coverage/auxiliary/inline_mixed_helper.rs')
-rw-r--r--tests/coverage/auxiliary/inline_mixed_helper.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/coverage/auxiliary/inline_mixed_helper.rs b/tests/coverage/auxiliary/inline_mixed_helper.rs
new file mode 100644
index 00000000000..1e91ab8ce7c
--- /dev/null
+++ b/tests/coverage/auxiliary/inline_mixed_helper.rs
@@ -0,0 +1,13 @@
+//@ edition: 2021
+//@ compile-flags: -Cinstrument-coverage=on
+
+#[inline]
+pub fn inline_me() {}
+
+#[inline(never)]
+pub fn no_inlining_please() {}
+
+pub fn generic<T>() {}
+
+// FIXME(#132436): Even though this doesn't ICE, it still produces coverage
+// reports that undercount the affected code.