diff options
Diffstat (limited to 'tests/rustdoc/constant/const-underscore.rs')
| -rw-r--r-- | tests/rustdoc/constant/const-underscore.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/rustdoc/constant/const-underscore.rs b/tests/rustdoc/constant/const-underscore.rs new file mode 100644 index 00000000000..fafc4b4e25c --- /dev/null +++ b/tests/rustdoc/constant/const-underscore.rs @@ -0,0 +1,7 @@ +//@ compile-flags: --document-private-items + +//@ !has const_underscore/constant._.html +const _: () = { + #[no_mangle] + extern "C" fn implementation_detail() {} +}; |
