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 Move /src/test to /tests 2023-01-11 09:32:08 +00:00
common-linkage-non-zero-init.rs Tests crash from inappropriate use of common linkage 2023-09-01 14:08:31 -07:00
common-linkage-non-zero-init.stderr Tests crash from inappropriate use of common linkage 2023-09-01 14:08:31 -07:00
incompatible-flavor.rs linker: Report linker flavors incompatible with the current target 2023-05-29 19:58:11 +03:00
incompatible-flavor.stderr bless test with new linker flavors 2023-06-30 21:13:24 +00:00
issue-10755.rs Fix tests on non-unix targets 2023-05-29 19:58:11 +03:00
issue-109144.rs The name of NativeLib will be presented 2023-03-19 11:23:19 +08:00
issue-109144.stderr The name of NativeLib will be presented 2023-03-19 11:23:19 +08:00
link-attr-validation-early.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
link-attr-validation-early.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
link-attr-validation-late.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
link-attr-validation-late.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
link-cfg-works.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
linkage1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
linkage2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
linkage2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
linkage3.rs Remove some unnecessary normalization 2023-07-05 19:52:28 -04:00
linkage3.stderr Remove some unnecessary normalization 2023-07-05 19:52:28 -04:00
linkage4.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
linkage4.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
linkage-detect-extern-generated-name-collision.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
linkage-detect-extern-generated-name-collision.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
linkage-detect-local-generated-name-collision.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
linkage-detect-local-generated-name-collision.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
linkage-import.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unstable-flavor.bpf.stderr comment, and bless, unstable linker flavor test 2023-06-30 21:13:24 +00:00
unstable-flavor.ptx.stderr comment, and bless, unstable linker flavor test 2023-06-30 21:13:24 +00:00
unstable-flavor.rs comment, and bless, unstable linker flavor test 2023-06-30 21:13:24 +00:00