diff options
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() {} | 
