about summary refs log tree commit diff
path: root/src/test/ui/cross-crate
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-570/+0
2022-03-28Remove duplicated and unused test filesCaio-82/+0
2022-03-27Remove duplicated test filesCaio-0/+27
2021-09-26Remove box syntax from most places in src/test outside of the issues direst31-7/+3
2021-04-25Reachable statics have reachable initializersTomasz Miąsko-0/+25
Static initializer can read other statics. Initializers are evaluated at compile time, and so their content could become inlined into another crate. Ensure that initializers of reachable statics are also reachable. Previously, when an item incorrectly considered to be unreachable was reached from another crate an attempt would be made to codegen it. The attempt could fail with an ICE (in the case MIR wasn't available to do so) in some circumstances the attempt could also succeed resulting in a local codegen of non-local items, including static ones.
2021-01-13Update code to account for extern ABI requirementMark Rousskov-1/+1
2019-11-01ui test formulation of regression test for issue 64872.Felix S. Klock II-0/+61
(Many thanks to alex for 1. making this even smaller than what I had originally minimized, and 2. pointing out that there is precedent for having ui tests with crate dependency chains of length > 2, thus allowing me to avoid encoding this as a run-make test.)
2019-08-15Group all ui tests and move to abi #62593Kevin Per-23/+0
2019-07-27tests: Move run-pass tests without naming conflicts to uiVadim Petrochenkov-0/+566