mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
4b51029c9e
list of externals. This makes sense since a shared library with no symbols can still be useful if it has static constructors. llvm-svn: 166795
11 lines
208 B
LLVM
11 lines
208 B
LLVM
; RUN: opt < %s -internalize -internalize-public-api-list main -S | grep internal | count 3
|
|
|
|
@A = global i32 0
|
|
@B = alias i32* @A
|
|
@C = alias i32* @B
|
|
|
|
define i32 @main() {
|
|
%tmp = load i32* @C
|
|
ret i32 %tmp
|
|
}
|