diff options
Diffstat (limited to 'tests/ui/test-attrs/tests-listing-format-json-without-unstableopts.rs')
-rw-r--r-- | tests/ui/test-attrs/tests-listing-format-json-without-unstableopts.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/ui/test-attrs/tests-listing-format-json-without-unstableopts.rs b/tests/ui/test-attrs/tests-listing-format-json-without-unstableopts.rs new file mode 100644 index 000000000..5247f1f8f --- /dev/null +++ b/tests/ui/test-attrs/tests-listing-format-json-without-unstableopts.rs @@ -0,0 +1,18 @@ +// no-prefer-dynamic +// compile-flags: --test +// run-flags: --list --format json +// run-fail +// check-run-results + +// Checks that --format json does not work without -Zunstable-options. + +#![cfg(test)] +#[test] +fn m_test() {} + +#[test] +#[ignore = "not yet implemented"] +fn z_test() {} + +#[test] +fn a_test() {} |