@@ -26,35 +26,35 @@ pub struct Type4(i32);
26
26
pub struct Type5 ( u32 ) ;
27
27
28
28
pub fn foo0 ( _: Type1 ) { }
29
- // CHECK: define{{.*}}foo0{{.*}}!type ![[TYPE0:[0-9]+]] !type ! {{[0-9]+}} !type !{{[0-9]+}} !type !{{[ 0-9]+}}
29
+ // CHECK: define{{.*}}foo0{{.*}}unnamed_addr # {{[0-9]+}} !type ![[TYPE0:[ 0-9]+]]
30
30
pub fn foo1 ( _: Type1 , _: Type1 ) { }
31
- // CHECK: define{{.*}}foo1{{.*}}!type ![[TYPE1:[0-9]+]] !type ! {{[0-9]+}} !type !{{[0-9]+}} !type !{{[ 0-9]+}}
31
+ // CHECK: define{{.*}}foo1{{.*}}unnamed_addr # {{[0-9]+}} !type ![[TYPE1:[ 0-9]+]]
32
32
pub fn foo2 ( _: Type1 , _: Type1 , _: Type1 ) { }
33
- // CHECK: define{{.*}}foo2{{.*}}!type ![[TYPE2:[0-9]+]] !type ! {{[0-9]+}} !type !{{[0-9]+}} !type !{{[ 0-9]+}}
33
+ // CHECK: define{{.*}}foo2{{.*}}unnamed_addr # {{[0-9]+}} !type ![[TYPE2:[ 0-9]+]]
34
34
pub fn foo3 ( _: * mut Type2 ) { }
35
- // CHECK: define{{.*}}foo3{{.*}}!type ![[TYPE3:[0-9]+]] !type ! {{[0-9]+}} !type !{{[0-9]+}} !type !{{[ 0-9]+}}
35
+ // CHECK: define{{.*}}foo3{{.*}}unnamed_addr # {{[0-9]+}} !type ![[TYPE3:[ 0-9]+]]
36
36
pub fn foo4 ( _: * mut Type2 , _: * mut Type2 ) { }
37
- // CHECK: define{{.*}}foo4{{.*}}!type ![[TYPE4:[0-9]+]] !type ! {{[0-9]+}} !type !{{[0-9]+}} !type !{{[ 0-9]+}}
37
+ // CHECK: define{{.*}}foo4{{.*}}unnamed_addr # {{[0-9]+}} !type ![[TYPE4:[ 0-9]+]]
38
38
pub fn foo5 ( _: * mut Type2 , _: * mut Type2 , _: * mut Type2 ) { }
39
- // CHECK: define{{.*}}foo5{{.*}}!type ![[TYPE5:[0-9]+]] !type ! {{[0-9]+}} !type !{{[0-9]+}} !type !{{[ 0-9]+}}
39
+ // CHECK: define{{.*}}foo5{{.*}}unnamed_addr # {{[0-9]+}} !type ![[TYPE5:[ 0-9]+]]
40
40
pub fn foo6 ( _: * mut Type3 ) { }
41
- // CHECK: define{{.*}}foo6{{.*}}!type ![[TYPE6:[0-9]+]] !type ! {{[0-9]+}} !type !{{[0-9]+}} !type !{{[ 0-9]+}}
41
+ // CHECK: define{{.*}}foo6{{.*}}unnamed_addr # {{[0-9]+}} !type ![[TYPE6:[ 0-9]+]]
42
42
pub fn foo7 ( _: * mut Type3 , _: * mut Type3 ) { }
43
- // CHECK: define{{.*}}foo7{{.*}}!type ![[TYPE7:[0-9]+]] !type ! {{[0-9]+}} !type !{{[0-9]+}} !type !{{[ 0-9]+}}
43
+ // CHECK: define{{.*}}foo7{{.*}}unnamed_addr # {{[0-9]+}} !type ![[TYPE7:[ 0-9]+]]
44
44
pub fn foo8 ( _: * mut Type3 , _: * mut Type3 , _: * mut Type3 ) { }
45
- // CHECK: define{{.*}}foo8{{.*}}!type ![[TYPE8:[0-9]+]] !type ! {{[0-9]+}} !type !{{[0-9]+}} !type !{{[ 0-9]+}}
45
+ // CHECK: define{{.*}}foo8{{.*}}unnamed_addr # {{[0-9]+}} !type ![[TYPE8:[ 0-9]+]]
46
46
pub fn foo9 ( _: Type4 ) { }
47
- // CHECK: define{{.*}}foo9{{.*}}!type ![[TYPE9:[0-9]+]] !type ! {{[0-9]+}} !type !{{[0-9]+}} !type !{{[ 0-9]+}}
47
+ // CHECK: define{{.*}}foo9{{.*}}unnamed_addr # {{[0-9]+}} !type ![[TYPE9:[ 0-9]+]]
48
48
pub fn foo10 ( _: Type4 , _: Type4 ) { }
49
- // CHECK: define{{.*}}foo10{{.*}}!type ![[TYPE10:[0-9]+]] !type ! {{[0-9]+}} !type !{{[0-9]+}} !type !{{[ 0-9]+}}
49
+ // CHECK: define{{.*}}foo10{{.*}}unnamed_addr # {{[0-9]+}} !type ![[TYPE10:[ 0-9]+]]
50
50
pub fn foo11 ( _: Type4 , _: Type4 , _: Type4 ) { }
51
- // CHECK: define{{.*}}foo11{{.*}}!type ![[TYPE11:[0-9]+]] !type ! {{[0-9]+}} !type !{{[0-9]+}} !type !{{[ 0-9]+}}
51
+ // CHECK: define{{.*}}foo11{{.*}}unnamed_addr # {{[0-9]+}} !type ![[TYPE11:[ 0-9]+]]
52
52
pub fn foo12 ( _: Type5 ) { }
53
- // CHECK: define{{.*}}foo12{{.*}}!type ![[TYPE12:[0-9]+]] !type ! {{[0-9]+}} !type !{{[0-9]+}} !type !{{[ 0-9]+}}
53
+ // CHECK: define{{.*}}foo12{{.*}}unnamed_addr # {{[0-9]+}} !type ![[TYPE12:[ 0-9]+]]
54
54
pub fn foo13 ( _: Type5 , _: Type5 ) { }
55
- // CHECK: define{{.*}}foo13{{.*}}!type ![[TYPE13:[0-9]+]] !type ! {{[0-9]+}} !type !{{[0-9]+}} !type !{{[ 0-9]+}}
55
+ // CHECK: define{{.*}}foo13{{.*}}unnamed_addr # {{[0-9]+}} !type ![[TYPE13:[ 0-9]+]]
56
56
pub fn foo14 ( _: Type5 , _: Type5 , _: Type5 ) { }
57
- // CHECK: define{{.*}}foo14{{.*}}!type ![[TYPE14:[0-9]+]] !type ! {{[0-9]+}} !type !{{[0-9]+}} !type !{{[ 0-9]+}}
57
+ // CHECK: define{{.*}}foo14{{.*}}unnamed_addr # {{[0-9]+}} !type ![[TYPE14:[ 0-9]+]]
58
58
59
59
// CHECK: ![[TYPE0]] = !{i64 0, !"_ZTSFv3FooE"}
60
60
// CHECK: ![[TYPE1]] = !{i64 0, !"_ZTSFv3FooS_E"}
0 commit comments