C Writer was dumping core on this test case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10165 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Brian Gaeke 2003-11-22 04:58:25 +00:00
parent ab25f5a6c1
commit b1ef7d6e35
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,6 @@
%y = weak global sbyte 0
implementation
uint %testcase() {
entry:
ret uint shr (uint cast (sbyte* %y to uint), ubyte 4)
}

View File

@ -0,0 +1,6 @@
%y = weak global sbyte 0
implementation
uint %testcase() {
entry:
ret uint shr (uint cast (sbyte* %y to uint), ubyte 4)
}