diff options
Diffstat (limited to 'src/test/rustdoc/union.rs')
-rw-r--r-- | src/test/rustdoc/union.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/rustdoc/union.rs b/src/test/rustdoc/union.rs new file mode 100644 index 000000000..5a788eb1b --- /dev/null +++ b/src/test/rustdoc/union.rs @@ -0,0 +1,8 @@ +// @has union/union.U.html +pub union U { + // @has - //pre "pub a: u8" + pub a: u8, + // @has - //pre "/* private fields */" + // @!has - //pre "b: u16" + b: u16, +} |