1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00
llvm-mirror/test/Bitcode/module-hash-strtab.ll
2017-07-06 17:56:01 +00:00

16 lines
457 B
LLVM

; RUN: opt -module-hash %s -o - | llvm-bcanalyzer -dump | grep '<HASH' > %t
; RUN: opt -module-hash %S/Inputs/module-hash-strtab1.ll -o - | llvm-bcanalyzer -dump | grep '<HASH' >> %t
; RUN: opt -module-hash %S/Inputs/module-hash-strtab2.ll -o - | llvm-bcanalyzer -dump | grep '<HASH' >> %t
; RUN: sort %t | uniq | count 3
source_filename = "foo.c"
$com = comdat any
define void @main() comdat($com) {
call void @foo()
ret void
}
declare void @foo()