blob: 1e41092443661d921c2f8ee571202c9742bca354 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# mode: error
# tag: or, binop, warnings
def test_or(a, b):
return a || b
_WARNINGS = """
5:13: Found the C operator '||', did you mean the Python operator 'or'?
"""
_ERRORS = """
5:13: Syntax error in simple statement list
"""
|