mirror of
https://github.com/github/codeql.git
synced 2026-03-30 20:28:15 +02:00
15 lines
253 B
Python
15 lines
253 B
Python
from trace import *
|
|
enter(__file__)
|
|
|
|
class SOURCE(object): pass
|
|
|
|
check("SOURCE", SOURCE, SOURCE, globals()) # $ prints=SOURCE
|
|
|
|
SOURCE.foo = 42
|
|
SOURCE.bar = 43
|
|
SOURCE.baz = 44
|
|
|
|
check("SOURCE", SOURCE, SOURCE, globals()) # $ prints=SOURCE
|
|
|
|
exit(__file__)
|