aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Bitcode/upgrade-void-ret-attr-11.0.ll
blob: 81852da7ce4a542fe43e9715e9f49e3ca886a262 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; Check upgrade is removing the incompatible attributes on void return type.

; RUN: llvm-dis < %s.bc | FileCheck %s

; CHECK: define void @f()
define align 8 void @f() {
  ret void
}

define void @g() {
; CHECK: call void @f()
  call align 8 void @f();
  ret void
}