diff options
| author | Colin Pronovost <colin.pron@live.com> | 2018-05-23 15:19:07 -0400 |
|---|---|---|
| committer | Colin Pronovost <colin.pron@live.com> | 2018-07-31 23:45:18 -0400 |
| commit | 02190f397ecb32bca42e5b631dc235381d01b377 (patch) | |
| tree | d160894619868dd7116a5bfdff9fef44e2c8a042 /src/test/codegen/remap_path_prefix | |
| parent | e94df4acb4c3f42fdc224a7164b63a99240add1e (diff) | |
| download | rust-02190f397ecb32bca42e5b631dc235381d01b377.tar.gz rust-02190f397ecb32bca42e5b631dc235381d01b377.zip | |
Make globals with private linkage unnamed. Fixes #50862.
Diffstat (limited to 'src/test/codegen/remap_path_prefix')
| -rw-r--r-- | src/test/codegen/remap_path_prefix/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/codegen/remap_path_prefix/main.rs b/src/test/codegen/remap_path_prefix/main.rs index 4fb8c37558d..dd0f89c931d 100644 --- a/src/test/codegen/remap_path_prefix/main.rs +++ b/src/test/codegen/remap_path_prefix/main.rs @@ -22,7 +22,7 @@ mod aux_mod; include!("aux_mod.rs"); // Here we check that the expansion of the file!() macro is mapped. -// CHECK: @byte_str.1 = private unnamed_addr constant <{ [34 x i8] }> <{ [34 x i8] c"/the/src/remap_path_prefix/main.rs" }>, align 1 +// CHECK: @0 = private unnamed_addr constant <{ [34 x i8] }> <{ [34 x i8] c"/the/src/remap_path_prefix/main.rs" }>, align 1 pub static FILE_PATH: &'static str = file!(); fn main() { |
