diff options
Diffstat (limited to 'src/test/rustdoc/sanitizer-option.rs')
-rw-r--r-- | src/test/rustdoc/sanitizer-option.rs | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/test/rustdoc/sanitizer-option.rs b/src/test/rustdoc/sanitizer-option.rs deleted file mode 100644 index 1abba468f..000000000 --- a/src/test/rustdoc/sanitizer-option.rs +++ /dev/null @@ -1,18 +0,0 @@ -// needs-sanitizer-support -// needs-sanitizer-address -// compile-flags: --test -Z sanitizer=address -// -// #43031: Verify that rustdoc passes `-Z` options to rustc. Use an extern -// function that is provided by the sanitizer runtime, if flag is not passed -// correctly, then linking will fail. - -/// ``` -/// extern "C" { -/// fn __sanitizer_print_stack_trace(); -/// } -/// -/// fn main() { -/// unsafe { __sanitizer_print_stack_trace() }; -/// } -/// ``` -pub fn z_flag_is_passed_to_rustc() {} |