Remove outdated rustc_allocator test
This attribute now does more than just place noalias on the return, and has specific requirements for the signature. Drop the test entirely, as we already check __rust_alloc attributes in other codegen tests.
This commit is contained in:
parent
c87e20bab0
commit
e6f0e358d6
@ -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()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user