about summary refs log tree commit diff
path: root/tests/codegen/instrument-xray/options-override.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/instrument-xray/options-override.rs')
-rw-r--r--tests/codegen/instrument-xray/options-override.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/codegen/instrument-xray/options-override.rs b/tests/codegen/instrument-xray/options-override.rs
deleted file mode 100644
index 428fb723edb..00000000000
--- a/tests/codegen/instrument-xray/options-override.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-// Checks that the last `-Z instrument-xray` option wins.
-//
-//@ needs-xray
-//@ compile-flags: -Z instrument-xray=always -Copt-level=0
-//@ compile-flags: -Z instrument-xray=never -Copt-level=0
-
-#![crate_type = "lib"]
-
-// CHECK:      attributes #{{.*}} "function-instrument"="xray-never"
-// CHECK-NOT:  attributes #{{.*}} "function-instrument"="xray-always"
-pub fn function() {}