]> git.lizzy.rs Git - rust.git/blobdiff - src/test/codegen/function-arguments.rs
Auto merge of #100117 - nicholasbishop:bishop-update-cc, r=Mark-Simulacrum
[rust.git] / src / test / codegen / function-arguments.rs
index dda139be6fcae4f6d09143fb677ebd059e9514a7..bc650ebf5eeb6d1026f971532166db1bfaa1f380 100644 (file)
@@ -233,10 +233,3 @@ pub fn enum_id_1(x: Option<Result<u16, u16>>) -> Option<Result<u16, u16>> {
 pub fn enum_id_2(x: Option<u8>) -> Option<u8> {
   x
 }
-
-// CHECK: noalias {{i8\*|ptr}} @allocator()
-#[no_mangle]
-#[rustc_allocator]
-pub fn allocator() -> *const i8 {
-  std::ptr::null()
-}