aboutsummaryrefslogtreecommitdiff
path: root/test cases/failing/97 add dict duplicate keys/meson.build
blob: 7a9b523b06d8161d934cf4bd85730ca1dd63d43f (plain)
1
2
3
4
5
6
7
8
9
project('add dictionary entries with duplicate keys')

dict = {}

# A variable to be used as a key
key = 'myKey'

# Add two entries with duplicate keys should fail
dict += {key : 'myValue1', key : 'myValue2'}