aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index ae91348f..72eb90ef 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -4071,7 +4071,7 @@ def process(filename):
int main( int argc, const char *argv[] ) {
unsigned int x = 0xfffffff1;
- x >>= 0; // force it to be unsigned for purpose of checking our switch comparison in signed/unsigned
+ x >>= (argc-1); // force it to be unsigned for purpose of checking our switch comparison in signed/unsigned
printf("*%d,%d,%d,%d,%d,%d*\\n", switcher('a'), switcher('b'), switcher('c'), switcher(x), switcher(-15), switcher('e'));
return 0;
}