Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
refs/heads/beta
/
.
/
src
/
test
/
ui
/
no-std-macros.rs
blob: ada643c7ac041448e28816e3f18ff7845491af2f [
file
] [
log
] [
blame
] [
edit
]
// compile-flags: --crate-type=lib
// check-pass
// issue #55482
#![
no_std
]
macro_rules
!
foo
{
(
$e
:
expr
)
=>
{
$crate
::
core
::
assert
!(
$e
);
$crate
::
core
::
assert_eq
!(
$e
,
true
);
};
}
pub
fn
foo
()
{
foo
!(
true
);
}