; RUN: opt -S -passes=function-attrs %s | FileCheck %s
@a = external global i8, !absolute_symbol !0
; CHECK-NOT: define nonnull
define ptr @foo() {
ret ptr @a
}
!0 = !{i64 0, i64 256}
; RUN: opt -S -passes=function-attrs %s | FileCheck %s
@a = external global i8, !absolute_symbol !0
; CHECK-NOT: define nonnull
define ptr @foo() {
ret ptr @a
}
!0 = !{i64 0, i64 256}