blob: 8aa5c5c4c1267bf37e9bf8affba3a1574f7f1411 [file]
//@ check-pass
//@ compile-flags:-Z unstable-options --output-format json --coverage -o -
// This check ensures that only one doc example is counted since they're "optional" on
// certain items.
/// ```
/// let x = 12;
/// ```
pub const Foo: u32 = 0;
/// doc
pub const Bar: u32 = 0;