We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 31c94df + 34c754e commit dfe7d76Copy full SHA for dfe7d76
1 file changed
src/test/resources/all/issues/silicon/0769.vpr
@@ -0,0 +1,17 @@
1
+// Any copyright is dedicated to the Public Domain.
2
+// http://creativecommons.org/publicdomain/zero/1.0/
3
+
4
+field values: Map[Int, Ref]
5
6
+field value: Int
7
8
9
+method main()
10
+{
11
+ var x: Ref
12
+ x := new(values)
13
+ x.values := Map()
14
+ //:: ExpectedOutput(assert.failed:map.key.contains)
15
+ assert x.values[1].value > 0
16
+ assert false
17
+}
0 commit comments