Sign in
gnu
/
gcc.git
/
refs/heads/trunk
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
issue-4167.rs
blob: 47f4e88ea7c7bb43d5b7b1b5c86d2de90d9f10d8 [
file
]
#![
feature
(
no_core
)]
#![
no_core
]
macro_rules
!
the_macro
{
(
$foo
:
stmt
;
$bar
:
stmt
;
)
=>
{
#[
cfg
(
foo
)]
$foo
$foo
[
cfg
(
bar
)]
$bar
};
}
fn
the_function
()
{
the_macro
!(
();
();
);
// { dg-error "cannot strip expression in this position" }
}