rust/tests/ui/linkage-attr
David Mo 4160337c85 Tests crash from inappropriate use of common linkage
Normally, variables with common linkage must be zero-initialized. In Rust,
common linkage variables that are not zero-initialized causes a crash in the
compiler backend.

This commit adds a test case to confirm this behavior, which will inform us if
it changes in the future.
2023-09-01 14:08:31 -07:00
..
auxiliary
common-linkage-non-zero-init.rs
common-linkage-non-zero-init.stderr
incompatible-flavor.rs
incompatible-flavor.stderr
issue-10755.rs
issue-109144.rs
issue-109144.stderr
link-attr-validation-early.rs
link-attr-validation-early.stderr
link-attr-validation-late.rs
link-attr-validation-late.stderr
link-cfg-works.rs
linkage1.rs
linkage2.rs
linkage2.stderr
linkage3.rs
linkage3.stderr
linkage4.rs
linkage4.stderr
linkage-detect-extern-generated-name-collision.rs
linkage-detect-extern-generated-name-collision.stderr
linkage-detect-local-generated-name-collision.rs
linkage-detect-local-generated-name-collision.stderr
linkage-import.rs
unstable-flavor.bpf.stderr
unstable-flavor.ptx.stderr
unstable-flavor.rs