• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: opt < %s -functionattrs -S | FileCheck %s
2
3; See PR26774
4
5; CHECK-LABEL: define void @bar(i8* readonly) {
6define void @bar(i8* readonly) {
7  call void @foo(i8* %0)
8  ret void
9}
10
11
12; CHECK-LABEL: define linkonce_odr void @foo(i8* readonly) {
13define linkonce_odr void @foo(i8* readonly) {
14  call void @bar(i8* %0)
15  ret void
16}
17