diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/Linker/2003-08-28-TypeResolvesGlobal.ll | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Linker/2003-08-28-TypeResolvesGlobal.ll b/test/Linker/2003-08-28-TypeResolvesGlobal.ll new file mode 100644 index 0000000000..d7f646b484 --- /dev/null +++ b/test/Linker/2003-08-28-TypeResolvesGlobal.ll @@ -0,0 +1,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*) + |