summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/doctest/nocapture.rs
blob: 25fbcf857e256c1d9d14a6f60ccb41d85d327d0b (plain)
1
2
3
4
5
6
7
8
9
10
// check-pass
// compile-flags:--test -Zunstable-options --nocapture
// normalize-stdout-test: "tests/rustdoc-ui/doctest" -> "$$DIR"
// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"

/// ```
/// println!("hello!");
/// eprintln!("stderr");
/// ```
pub struct Foo;