Sign in
◑
Theme
gnu
/
gcc.git
/
refs/heads/trunk
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
issues
/
4476.rs
blob: 2427a67ebcba4ce10c743b5b5afe6cc1e4c2a1c7 [
file
]
#![
feature
(
no_core
)]
#![
no_core
]
struct
Foo
{}
struct
S
{}
fn
main
()
{
Foo
{
#[
cfg
(
feature
=
-
1
)]
..
}
=
S
{};
// { dg-error "attributes are not allowed before .* in a struct expression" "" { target *-*-* } .-1 }
}