2022-02-06 22:21:09 +01:00
|
|
|
// check-pass
|
|
|
|
// compile-flags:--test
|
2022-05-03 20:46:02 +02:00
|
|
|
// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
|
2022-02-06 22:21:09 +01: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() {}
|
|
|
|
}
|