mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
These get to live next to the existing library and query tests, and are run as part of both the Python 2 and Python 3 language tests.
12 lines
581 B
Python
12 lines
581 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
|
|
def func():
|
|
#Test for overflow in pruning
|
|
LARGE = 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
|
if LARGE:
|
|
func("Some text")
|
|
if LARGE:
|
|
func("Some more text")
|
|
f = 1
|