mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
a62270de2c
The reversion apparently deleted the test/Transforms directory. Will be re-reverting again. llvm-svn: 358552
12 lines
236 B
LLVM
12 lines
236 B
LLVM
; RUN: opt -S -functionattrs %s | FileCheck %s
|
|
; RUN: opt -S -passes=function-attrs %s | FileCheck %s
|
|
|
|
@a = external global i8, !absolute_symbol !0
|
|
|
|
; CHECK-NOT: define nonnull
|
|
define i8* @foo() {
|
|
ret i8* @a
|
|
}
|
|
|
|
!0 = !{i64 0, i64 256}
|