(root)/
gcc-13.2.0/
gcc/
testsuite/
rust/
compile/
torture/
check-doc-attr-string.rs
#![crate_type = "lib"]

#[doc(alias = "foo")] // ok!
#[doc(alias("bar", "baz"))] // ok!
pub struct Bar;

#[doc(alias = "
")] // { dg-error "invalid character used" "" { target *-*-* } .-1 }
pub struct Foo;

#[doc(alias(
    "
"
))] // ko but unchecked for now
pub struct Foo2;

#[doc(whatever = "buidule")] // ko as well but unchecked for now
struct Boo;