mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00

Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
17 lines
320 B
Rust
17 lines
320 B
Rust
//@ run-pass
|
|
//@ aux-build:kinds_in_metadata.rs
|
|
|
|
|
|
/* Any copyright is dedicated to the Public Domain.
|
|
* http://creativecommons.org/publicdomain/zero/1.0/ */
|
|
|
|
// Tests that metadata serialization works for the `Copy` kind.
|
|
|
|
extern crate kinds_in_metadata;
|
|
|
|
use kinds_in_metadata::f;
|
|
|
|
pub fn main() {
|
|
f::<isize>();
|
|
}
|