blob: 023d620bea2225d13fa04217d591d26c2d424217 [file] [log] [blame]
// compile-flags:--test
#![deny(rustdoc::invalid_codeblock_attributes)]
/// foo
///
/// ```compile-fail,compilefail,comPile_fail
/// boo
/// ```
pub fn foo() {}
/// bar
///
/// ```should-panic,shouldpanic,shOuld_panic
/// boo
/// ```
pub fn bar() {}
/// foobar
///
/// ```no-run,norun,nO_run
/// boo
/// ```
pub fn foobar() {}
/// barfoo
///
/// ```allow-fail,allowfail,allOw_fail
/// boo
/// ```
pub fn barfoo() {}
/// b
///
/// ```test-harness,testharness,tesT_harness
/// boo
/// ```
pub fn b() {}