; Found by inspection of the code
-; RUN: llvm-upgrade < %s | llvm-as 2>&1 > /dev/null | grep "Shift constant expression"
+; RUN: not llvm-as < %s > /dev/null |& grep {Logical operator requires integral}
-global int shr (float 1.0, ubyte 2)
+global i32 ashr (float 1.0, float 2.0)