Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
src
/
test
/
ui
/
issues
/
issue-40136.rs
blob: 412ddafdd97ce155ce2bb1f06e0846958a9fbcf2 [
file
] [
log
] [
blame
]
// build-pass (FIXME(62277): could be check-pass?)
#![
allow
(
dead_code
)]
macro_rules
!
m
{
()
=>
{
0
}
}
trait
T
{
const
C
:
i32
=
m
!();
}
struct
S
;
impl
S
{
const
C
:
i32
=
m
!();
}
fn
main
()
{}