2019-04-23 16:39:26 -05:00
|
|
|
// compile-flags: --test
|
2023-04-29 04:08:33 -05:00
|
|
|
// normalize-stdout-test: "tests/rustdoc-ui/doctest" -> "$$DIR"
|
2020-11-26 14:15:15 -06:00
|
|
|
// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
|
2019-04-23 16:39:26 -05:00
|
|
|
// failure-status: 101
|
|
|
|
// rustc-env: RUST_BACKTRACE=0
|
|
|
|
|
|
|
|
/// ```rust
|
|
|
|
/// let x = 7;
|
|
|
|
/// "unterminated
|
|
|
|
/// ```
|
|
|
|
pub fn foo() {}
|