summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/FunctionAttrs/nonnull-global.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/FunctionAttrs/nonnull-global.ll')
-rw-r--r--llvm/test/Transforms/FunctionAttrs/nonnull-global.ll11
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/test/Transforms/FunctionAttrs/nonnull-global.ll b/llvm/test/Transforms/FunctionAttrs/nonnull-global.ll
deleted file mode 100644
index d79a7ae290a..00000000000
--- a/llvm/test/Transforms/FunctionAttrs/nonnull-global.ll
+++ /dev/null
@@ -1,11 +0,0 @@
-; 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}
OpenPOWER on IntegriCloud