From a35c4e354a65fdbbb61741db3a9dd1c190f2f146 Mon Sep 17 00:00:00 2001 From: "A.J. Gardner" Date: Thu, 13 Apr 2017 23:41:03 -0500 Subject: [PATCH] Comply with windows symbol name conventions --- src/test/run-pass/simple_global_asm.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/run-pass/simple_global_asm.rs b/src/test/run-pass/simple_global_asm.rs index ac2cacf3db2..cd8273c6bc2 100644 --- a/src/test/run-pass/simple_global_asm.rs +++ b/src/test/run-pass/simple_global_asm.rs @@ -14,7 +14,9 @@ #[cfg(any(target_arch = "x86_64", target_arch = "x86"))] global_asm!(r#" .global foo + .global _foo foo: +_foo: ret "#);