Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
deferred-suffix-validation.rs
blob: 6e44ea15710fa0fdb38390b1ef475ec47f487c10 [
file
]
#![
feature
(
no_core
)]
#![
no_core
]
macro_rules
!
foo
{
(
$x
:
tt
)
=>
{};
}
fn
main
()
{
foo
!(
123invalid
);
foo
!(
3.14
_f128_invalid
);
foo
!(
0x1h12
);
foo
!(
0o1h13
);
foo
!(
0b1h14
);
let
_
=
123invalid
;
// { dg-error "invalid suffix .invalid. for number literal" }
}