summaryrefslogtreecommitdiffstats
path: root/src/librustdoc/html/highlight/fixtures/union.html
blob: c0acf31a05d08ff7e6536efb43fb63b114076b65 (plain)
1
2
3
4
5
6
7
8
<span class="kw">union</span> <span class="ident">Foo</span> {
    <span class="ident">i</span>: <span class="ident">i8</span>,
    <span class="ident">u</span>: <span class="ident">i8</span>,
}

<span class="kw">fn</span> <span class="ident">main</span>() {
    <span class="kw">let</span> <span class="ident">union</span> <span class="op">=</span> <span class="number">0</span>;
}