1 target triple = "wasm32-unknown-unknown"
3 ; Will collide: local (internal linkage) with global (external) linkage
4 @colliding_global1 = internal default global i32 1, align 4
5 ; Will collide: global with local
6 @colliding_global2 = default global i32 1, align 4
7 ; Will collide: local with local
8 @colliding_global3 = internal default global i32 1, align 4
10 ; Will collide: local with global
11 define internal i32 @colliding_func1() {
15 ; Will collide: global with local
16 define i32 @colliding_func2() {
20 ; Will collide: local with local
21 define internal i32 @colliding_func3() {
27 define ptr @get_global1A() {
29 ret ptr @colliding_global1
31 define ptr @get_global2A() {
33 ret ptr @colliding_global2
35 define ptr @get_global3A() {
37 ret ptr @colliding_global3
40 define ptr @get_func1A() {
42 ret ptr @colliding_func1
44 define ptr @get_func2A() {
46 ret ptr @colliding_func2
48 define ptr @get_func3A() {
50 ret ptr @colliding_func3