summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/sometimes_deleted_function.ll
blob: 6b82c49f018e37187194ff48cf8a7920b26104e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: opt -S < %s | FileCheck %s --check-prefixes=ALL,FIRST
; RUN: opt -S -globalopt < %s | FileCheck %s --check-prefixes=ALL,SECOND
;
; Make sure we use FIRST to check for @sometimes_here as ALL does not work.

define internal void @sometimes_here() {
  ret void
}

define void @always_here() {
  ret void
}
OpenPOWER on IntegriCloud