Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
parser
/
issues
/
issue-88583-union-as-ident.rs
blob: a18bd0aeee68f81c24ee04255ea9398100ce7bae [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
#![
allow
(
non_camel_case_types
)]
struct
union
;
impl
union
{
pub
fn
new
()
->
Self
{
union
{
}
}
}
fn
main
()
{
let
_u
=
union
::
new
();
}