summaryrefslogtreecommitdiffstats
path: root/src/test/codegen/stack-probes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/codegen/stack-probes.rs')
-rw-r--r--src/test/codegen/stack-probes.rs22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/test/codegen/stack-probes.rs b/src/test/codegen/stack-probes.rs
new file mode 100644
index 000000000..9bd351df3
--- /dev/null
+++ b/src/test/codegen/stack-probes.rs
@@ -0,0 +1,22 @@
+// ignore-arm
+// ignore-aarch64
+// ignore-mips
+// ignore-mips64
+// ignore-powerpc
+// ignore-powerpc64
+// ignore-powerpc64le
+// ignore-riscv64
+// ignore-s390x
+// ignore-sparc
+// ignore-sparc64
+// ignore-wasm
+// ignore-emscripten
+// ignore-windows
+// compile-flags: -C no-prepopulate-passes
+
+#![crate_type = "lib"]
+
+#[no_mangle]
+pub fn foo() {
+// CHECK: @foo() unnamed_addr #0
+}