diff options
| -rw-r--r-- | llvm/test/Feature/newcasts.ll | 7 | 
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/Feature/newcasts.ll b/llvm/test/Feature/newcasts.ll index 6b297961aa7..00919d180dd 100644 --- a/llvm/test/Feature/newcasts.ll +++ b/llvm/test/Feature/newcasts.ll @@ -19,3 +19,10 @@ void "NewCasts" (short %x) {  } +ushort "ZExtConst" () { +  ret ushort trunc ( uint zext ( short 42 to uint) to ushort ) +} + +short "SExtConst" () { +  ret short trunc (int sext (ushort 42 to int) to short ) +}  | 

