Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
binding
/
simple-generic-match.rs
blob: 001b469d35e3f6befc7ee8bb9522a1e125d49b7e [
file
] [
log
] [
blame
]
//@ run-pass
#![
allow
(
non_camel_case_types
)]
enum
clam
<
T
>
{
a
(#[
allow
(
dead_code
)]
T
),
}
pub
fn
main
()
{
let
c
=
clam
::
a
(
2
);
match
c
{
clam
::
a
::<
isize
>(
_
)
=>
{
}
}
}