about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMartin Nordholts <martin.nordholts@codetale.se>2024-03-10 14:34:01 +0100
committerMartin Nordholts <martin.nordholts@codetale.se>2024-03-12 06:04:41 +0100
commit98553ce27e68e2d7b8fb3919c9aec7253dfd3a5a (patch)
tree7fea0ec1116683ae6391e8ad789b987fab50b44b /compiler/rustc_codegen_llvm/src
parent5aad51d015b8d3f6d823a6bf9dbc8ae3b9fd10c5 (diff)
downloadrust-98553ce27e68e2d7b8fb3919c9aec7253dfd3a5a.tar.gz
rust-98553ce27e68e2d7b8fb3919c9aec7253dfd3a5a.zip
tests: Add ui/attributes/unix_sigpipe/unix_sigpipe-str-list.rs
Which is a variant of [`unix_sigpipe-list.rs`][1] but where a string is
used instead of an identifier. This makes it more similar to the proper
form `#[unix_sigpipe = "sig_dfl"]` and thus more likely to be written by
users by mistake. Also rename the first test to be more in line with the
terminology of [The Reference][2].

[1]: https://github.com/rust-lang/rust/blob/master/tests/ui/attributes/unix_sigpipe/unix_sigpipe-list.rs
[2]: https://doc.rust-lang.org/reference/attributes.html#meta-item-attribute-syntax
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions