summaryrefslogtreecommitdiff
path: root/test/Linker/2003-08-28-TypeResolvesGlobal.ll
blob: d7f646b484a3a4cf3ab81e1b31216873437970a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: as < %s > Output/%s.out1.bc
; RUN: echo "%S = type int" | as > Output/%s.out2.bc
; RUN: link Output/%s.out[21].bc

%S = type opaque

void %foo(int* %V) {
  ret void
}

declare void %foo(%S*)