diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2024-03-04 14:31:23 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2024-03-04 16:19:17 +0100 |
| commit | 5e6e140b0cf44079cd0f42ba8bfcbf874859dd68 (patch) | |
| tree | 9daced22787d0c4d59fc30c33b4032e372d162ba /tests/ui/codegen/duplicated-path-in-error.rs | |
| parent | 640e99ccc982586352b1ad94c350af3cbeff3c2e (diff) | |
| download | rust-5e6e140b0cf44079cd0f42ba8bfcbf874859dd68.tar.gz rust-5e6e140b0cf44079cd0f42ba8bfcbf874859dd68.zip | |
Add regression ui test for duplicated path in dylib error
Diffstat (limited to 'tests/ui/codegen/duplicated-path-in-error.rs')
| -rw-r--r-- | tests/ui/codegen/duplicated-path-in-error.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ui/codegen/duplicated-path-in-error.rs b/tests/ui/codegen/duplicated-path-in-error.rs new file mode 100644 index 00000000000..cff20dd9bd6 --- /dev/null +++ b/tests/ui/codegen/duplicated-path-in-error.rs @@ -0,0 +1,7 @@ +//@ only-linux +//@ compile-flags: -Zcodegen-backend=/non-existing-one.so + +// This test ensures that the error of the "not found dylib" doesn't duplicate +// the path of the dylib. + +fn main() {} |
