Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
proc-macro
/
negative-token.rs
blob: 2ed3cbc08cd513b473db35eaa289e8adc62abf4c [
file
] [
log
] [
blame
]
// run-pass
// aux-build:negative-token.rs
extern
crate negative_token
;
use
negative_token
::*;
fn
main
()
{
assert_eq
!(-
1
,
neg_one
!());
assert_eq
!(-
1.0
,
neg_one_float
!());
}