Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
cfg-attr.rs
blob: 137ed2c7adb5de89a6d1b360411d563dc0b4afec [
file
] [
log
] [
blame
]
// { dg-additional-options "-w -frust-cfg=A" }
#![
cfg_attr
(
not
(
B
),
allow
(
dead_code
))]
#![
cfg_attr
(
A
,
allow
(
while_true
))]
#[
cfg_attr
(
not
(
B
),
allow
(
deprecated
))]
#[
cfg_attr
(
A
,
allow
(
drop_bounds
))]
fn
main
()
{
}