about summary refs log tree commit diff
path: root/tests/rustdoc/primitive-raw-pointer-link-15318.rs
blob: a6f6f67dc84783ced85a3306123ed5e9b4e16887 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//@ aux-build:issue-15318.rs
//@ ignore-cross-compile
// https://github.com/rust-lang/rust/issues/15318

#![crate_name="issue_15318"]
#![no_std]

extern crate issue_15318;

//@ has issue_15318/fn.bar.html \
//      '//*[@href="http://example.com/issue_15318/primitive.pointer.html"]' \
//      '*mut T'
pub fn bar<T>(ptr: *mut T) {}