2015-04-06 17:58:23 -05:00
|
|
|
// aux-build:issue-15318.rs
|
2015-04-22 17:22:36 -05:00
|
|
|
// ignore-cross-compile
|
2023-09-27 19:22:18 -05:00
|
|
|
// https://github.com/rust-lang/rust/issues/15318
|
2023-09-27 18:51:21 -05:00
|
|
|
|
|
|
|
#![crate_name="issue_15318_2"]
|
2021-07-10 21:25:36 -05:00
|
|
|
#![no_std]
|
2015-04-06 17:58:23 -05:00
|
|
|
|
|
|
|
extern crate issue_15318;
|
|
|
|
|
|
|
|
pub use issue_15318::ptr;
|
|
|
|
|
2023-03-23 09:47:49 -05:00
|
|
|
// @!has issue_15318_2/fn.bar.html \
|
2015-04-06 17:58:23 -05:00
|
|
|
// '//*[@href="primitive.pointer.html"]' \
|
|
|
|
// '*mut T'
|
|
|
|
pub fn bar<T>(ptr: *mut T) {}
|