blob: 72ac6aa244918b29b27193d11606d86afa73245a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
# SPDX-License-Identifier: GPL-2.0
"""
Detect constants outside the 'int' and 'hex' bounds.
An int constant must fit in a signed 64-bit integer, and a hex constant must
fit in an unsigned 64-bit integer.
"""
def test(conf):
assert conf.olddefconfig() == 1
assert conf.stderr_matches('expected_stderr')
|