mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 18:27:37 +00:00
12 lines
278 B
Rust
12 lines
278 B
Rust
// Test to ensure that it generates expected output for `--output-format=doctest` command-line
|
|
// flag.
|
|
|
|
//@ compile-flags:-Z unstable-options --output-format=doctest
|
|
//@ normalize-stdout: "tests/rustdoc-ui" -> "$$DIR"
|
|
//@ check-pass
|
|
|
|
//! ```
|
|
//! let x = 12;
|
|
//! Ok(())
|
|
//! ```
|