File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
src/test/codegen-units/partitioning Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ mod mod1 {
3838 fn do_something_else ( & self , x : T ) -> T { x }
3939 }
4040
41+ //~ MONO_ITEM fn vtable_through_const::mod1[0]::id[0]<i64> @@ vtable_through_const-mod1.volatile[Internal]
4142 fn id < T > ( x : T ) -> T { x }
4243
4344 // These are referenced, so they produce mono-items (see start())
@@ -52,6 +53,8 @@ mod mod1 {
5253 fn do_something_else ( & self ) { }
5354 }
5455
56+ //~ MONO_ITEM fn vtable_through_const::mod1[0]::Trait2[0]::do_something[0]<u32> @@ vtable_through_const-mod1.volatile[Internal]
57+ //~ MONO_ITEM fn vtable_through_const::mod1[0]::Trait2[0]::do_something_else[0]<u32> @@ vtable_through_const-mod1.volatile[Internal]
5558 impl Trait2 for u32 { }
5659
5760 pub trait Trait2Gen < T > {
@@ -89,6 +92,8 @@ fn start(_: isize, _: *const *const u8) -> isize {
8992 // Same as above
9093 //~ MONO_ITEM fn vtable_through_const::mod1[0]::{{impl}}[1]::do_something[0]<u8> @@ vtable_through_const-mod1.volatile[External]
9194 //~ MONO_ITEM fn vtable_through_const::mod1[0]::{{impl}}[1]::do_something_else[0]<u8> @@ vtable_through_const-mod1.volatile[External]
95+ //~ MONO_ITEM fn vtable_through_const::mod1[0]::{{impl}}[3]::do_something[0]<u8> @@ vtable_through_const-mod1.volatile[Internal]
96+ //~ MONO_ITEM fn vtable_through_const::mod1[0]::{{impl}}[3]::do_something_else[0]<u8> @@ vtable_through_const-mod1.volatile[Internal]
9297 mod1:: TRAIT1_GEN_REF . do_something ( 0u8 ) ;
9398
9499 //~ MONO_ITEM fn vtable_through_const::mod1[0]::id[0]<char> @@ vtable_through_const-mod1.volatile[External]
You can’t perform that action at this time.
0 commit comments