diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2003-11-22 04:58:25 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2003-11-22 04:58:25 +0000 |
commit | b1ef7d6e35e7ff369a330f74f678ef5ffb13928c (patch) | |
tree | 55e95620c52ab353e30604c8a13c3a75da3d0cdc /test/CodeGen | |
parent | ab25f5a6c1cbbbc68c46a519148650b5a1095000 (diff) | |
download | external_llvm-b1ef7d6e35e7ff369a330f74f678ef5ffb13928c.zip external_llvm-b1ef7d6e35e7ff369a330f74f678ef5ffb13928c.tar.gz external_llvm-b1ef7d6e35e7ff369a330f74f678ef5ffb13928c.tar.bz2 |
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
Diffstat (limited to 'test/CodeGen')
-rw-r--r-- | test/CodeGen/CBackend/2003-11-21-ConstantShiftExpr.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/CBackend/2003-11-21-ConstantShiftExpr.ll b/test/CodeGen/CBackend/2003-11-21-ConstantShiftExpr.ll new file mode 100644 index 0000000..a2a145f --- /dev/null +++ b/test/CodeGen/CBackend/2003-11-21-ConstantShiftExpr.ll @@ -0,0 +1,6 @@ +%y = weak global sbyte 0 +implementation +uint %testcase() { +entry: + ret uint shr (uint cast (sbyte* %y to uint), ubyte 4) +} |