diff options
| author | Chris Lattner <sabre@nondot.org> | 2003-10-21 22:46:22 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2003-10-21 22:46:22 +0000 |
| commit | 1de1483e385127bcfcfdeba19252777a68ff3a21 (patch) | |
| tree | 1e76135a2914294d36b2ef174c978281f54749d5 | |
| parent | 0142c1e5a0f94cd76ff62aee580ab1366238c006 (diff) | |
| download | bcm5719-llvm-1de1483e385127bcfcfdeba19252777a68ff3a21.tar.gz bcm5719-llvm-1de1483e385127bcfcfdeba19252777a68ff3a21.zip | |
New testcase. The linker should not consider it an error if two types
disagree. It should grumble, then go ahead and do it.
llvm-svn: 9356
| -rw-r--r-- | llvm/test/Regression/Linker/2003-10-21-ConflictingTypesTolerance.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/Regression/Linker/2003-10-21-ConflictingTypesTolerance.ll b/llvm/test/Regression/Linker/2003-10-21-ConflictingTypesTolerance.ll new file mode 100644 index 00000000000..afc8f4666dc --- /dev/null +++ b/llvm/test/Regression/Linker/2003-10-21-ConflictingTypesTolerance.ll @@ -0,0 +1,7 @@ +; RUN: llvm-as < %s > %t.out1.bc +; RUN: echo "%S = type [8 x int] external global %S " | llvm-as > %t.out2.bc +; RUN: llvm-link %t.out[12].bc | llvm-dis | grep %S | grep '{' + +%S = type { int } + + |

