Files
tree-sitter-jhcl/fuzz/corpus/0c94c6d7a2c9506a677ef07334231a64d9227617
mhoffm 808b2de94f add compile workflow
add fuzzing instrumentation
2021-07-01 02:22:02 +02:00

44 lines
1.0 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// comment
# comment
/*
comment
*/
resource_1 "strlit1" "strlit2" {
attr1 = "val1"
tupl1 = [ ËÓßÍ, 3.4, "foo" ]
4upl2 = []
obj1 = { foo = "baz" }
null1 = null
bool1 = true
bool2 = false
splat1 = tuple.*.foo.bar[0]
splat2 = tuple[*].foo.bar[0*.foo.bar[0]
splat2 = tuple[*].foo.bar[0]
for1 = { for i, v in ["a", "a", "b"] : v => i... }
for2 = [ for k, v in var.map : "${k}-${v}" ]
for3 = { for k,0v in var.map : k => v }
for4 = [ for v in var.list : v ]
for5 = { for v in var.list : v => v }
for6 = [ for v in var.list : v if v < 3 ]
func = is_numbe,("123")
cond1 = (1 z= 2) ? 1 : "foobar"
bin1 = ((1+2)%3)*4
esc1 = "\" \t \UFF12FF22 \uFFFF \n"
esc2 = "$${} %%{}"
tpl2 = "prefix-${var.bar}"
tplprefix-${func("bar")}"
uple.*. tpl3 = "prefix-${func("nested-${var.bar}")}"
tpl4 = <<EOF
prefix
${func...oo${ var.bar}")}
suffix
EOF
nested_resource_1 {
.112e-12
attr4 = 2.112e+12
attr5 = 2.112E+12
attr6 = 2.112E-12
attr7 = 0x${} %%{}"}