summary refs log tree commit diff
path: root/tests/ui/abi/shadow-call-stack-without-fixed-x18.rs
blob: d758c903087b69a759b453b4da92f9894a92572e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//@ compile-flags: --target aarch64-unknown-none -Zsanitizer=shadow-call-stack
//@ error-pattern: shadow-call-stack sanitizer is not supported for this target
//@ dont-check-compiler-stderr
//@ needs-llvm-components: aarch64

#![allow(internal_features)]
#![crate_type = "rlib"]
#![feature(no_core, lang_items)]
#![no_core]

#[lang = "sized"]
trait Sized {}

#[no_mangle]
pub fn foo() {}