Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
issues
/
issue-23898.rs
blob: a8787f279b71b1da9ca95cc0934472cdf704f4b4 [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
non_camel_case_types
)]
// Note: This test was used to demonstrate #5873 (now #23898).
enum
State
{
ST_NULL
,
ST_WHITESPACE
}
fn
main
()
{
[
State
::
ST_NULL
;
(
State
::
ST_WHITESPACE
as
usize
)];
}