summaryrefslogtreecommitdiff
path: root/test/CodeGen/Generic/externally_available.ll
blob: 73b6b9825d2ca67ba37fb495053a9a28d5da4090 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llvm-as < %s | llc | not grep test_

; test_function should not be emitted to the .s file.
define available_externally i32 @test_function() {
  ret i32 4
}

; test_global should not be emitted to the .s file.
@test_global = available_externally global i32 4