xref: /llvm-project/llvm/test/CodeGen/Hexagon/sdata-opaque-type.ll (revision 2208c97c1bec2512d4e47b6223db6d95a7037956)
1; RUN: llc -mtriple=hexagon -O2 < %s
2; REQUIRES: asserts
3; This should compile cleanly.
4
5target triple = "hexagon"
6
7%s.0 = type opaque
8
9@g0 = external global %s.0
10
11; Function Attrs: nounwind
12define ptr @f0() #0 {
13b0:
14  ret ptr @g0
15}
16
17attributes #0 = { nounwind }
18