2022-02-06 15:21:09 -06:00
|
|
|
// check-pass
|
|
|
|
// compile-flags:--test
|
2022-05-03 13:46:02 -05:00
|
|
|
// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
|
2022-02-06 15:21:09 -06:00
|
|
|
|
|
|
|
// This test ensures that no code block is detected in the doc comments.
|
|
|
|
|
|
|
|
pub mod Wormhole {
|
|
|
|
/** # Returns
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
pub fn foofoo() {}
|
|
|
|
/**
|
|
|
|
* # Returns
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
pub fn barbar() {}
|
|
|
|
}
|