mirror of https://github.com/rust-lang/rust
22 lines
473 B
Rust
22 lines
473 B
Rust
//@ no-prefer-dynamic
|
|
//@ compile-flags: --test
|
|
//@ run-flags: --list --format json -Zunstable-options
|
|
//@ run-pass
|
|
//@ check-run-results
|
|
//@ only-nightly
|
|
//@ normalize-stdout-test: "fake-test-src-base/test-attrs/" -> "$$DIR/"
|
|
//@ normalize-stdout-test: "fake-test-src-base\\test-attrs\\" -> "$$DIR/"
|
|
|
|
// Checks the listing of tests with --format json.
|
|
|
|
#![cfg(test)]
|
|
#[test]
|
|
fn m_test() {}
|
|
|
|
#[test]
|
|
#[ignore = "not yet implemented"]
|
|
fn z_test() {}
|
|
|
|
#[test]
|
|
fn a_test() {}
|