aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2013-02-01 22:18:03 +0200
committerJukka Jylänki <jujjyl@gmail.com>2013-02-01 22:18:03 +0200
commit24fe400832f5c734655ded971c9223913a5f0455 (patch)
tree5ef9beb29c4a43b123cb451a810efae610f4c2d4 /tests/runner.py
parentabc177f64fddca0ce07becbfc712309377755a5f (diff)
Fix test_llvmswitch to be valid C++11 code. Using an unsigned type would cause an error: case value evaluates to 4294967281, which cannot be narrowed to type 'int' [-Wc++11-narrowing] when compiled as C++11.
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 06b74caa..1b0852f4 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -3498,7 +3498,7 @@ def process(filename):
case 'b':
case 'c':
return p-1;
- case 0xfffffff1:
+ case -15:
return p+1;
}
return p;