llvm.org GIT mirror llvm / 0c49b89 test / Linker / 2003-08-28-TypeResolvesGlobal.ll
0c49b89

Tree @0c49b89 (Download .tar.gz)

2003-08-28-TypeResolvesGlobal.ll @0c49b89raw · history · blame

; 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*)