blob: c81a3f76479fa87b4a8e0b576f2e1923ec4e25f4 [file] [log] [blame]
project('add dictionary entry using non-string key')
dict = {}
# An integer variable to be used as a key
key = 1
# Add new entry using integer variable as key should fail
dict += {key : 'myValue'}