Files
carbon-lang/explorer/fuzzing/fuzzer_corpus/210db2016458d0bdcfcbb47dca27f5fccebe3bcc
T
pk19604014 4c47d87d95 Regenerated fuzzer corpus with regen_corpus.py (#2008)
To pick up proto updates (field renames etc.) and new carbon source samples added to testdata.

```
$ rm explorer/fuzzing/fuzzer_corpus/*
$ explorer/fuzzing/regen_corpus.py
```
2022-08-15 10:14:06 -07:00

84 lines
1.9 KiB
Plaintext

compilation_unit {
package_statement {
package_name: "ExplorerTest"
}
is_api: true
declarations {
function {
name: "Main"
param_pattern {
}
return_term {
kind: Expression
type {
int_type_literal {
}
}
}
body {
statements {
variable_definition {
pattern {
binding_pattern {
name: "t"
type {
expression_pattern {
expression {
struct_type_literal {
fields {
name: "x"
expression {
int_type_literal {
}
}
}
fields {
name: "y"
expression {
int_type_literal {
}
}
}
}
}
}
}
}
}
init {
struct_literal {
fields {
name: "y"
expression {
int_literal {
value: 2
}
}
}
fields {
name: "x"
expression {
int_literal {
value: 3
}
}
}
}
}
is_returned: false
}
}
statements {
return_expression_statement {
expression {
int_literal {
value: 0
}
}
}
}
}
}
}
}