xref: /llvm-project/llvm/test/Transforms/LowerTypeTests/external-global.ll (revision d3d7ba12033f20dfbc8eb6c60954478cff0d0182)
1; RUN: opt -S -passes=lowertypetests -lowertypetests-summary-action=export -o - %s | FileCheck %s
2
3target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
4target triple = "x86_64-scei-ps4"
5
6; CHECK: @dipsy = external
7@dipsy = external constant i8, !type !0
8
9define void @tinkywinky() {
10  store ptr @dipsy, ptr undef
11  ret void
12}
13
14!0 = !{i64 16, !"teletubbies"}
15