Files
carbon-lang/explorer/fuzzing/fuzzer_corpus/c68bd445dfd7fea94c8e2745cfaf705f7388f138
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

91 lines
1.7 KiB
Plaintext

compilation_unit {
package_statement {
package_name: "ExplorerTest"
}
is_api: true
declarations {
function {
name: "Foo"
param_pattern {
}
return_term {
kind: Expression
type {
tuple_literal {
}
}
}
body {
statements {
variable_definition {
pattern {
binding_pattern {
name: "x"
type {
expression_pattern {
expression {
tuple_literal {
}
}
}
}
}
}
init {
tuple_literal {
}
}
is_returned: true
}
}
statements {
return_var_statement {
}
}
}
}
}
declarations {
function {
name: "Main"
param_pattern {
}
return_term {
kind: Expression
type {
int_type_literal {
}
}
}
body {
statements {
expression_statement {
expression {
call {
function {
identifier {
name: "Foo"
}
}
argument {
tuple_literal {
}
}
}
}
}
}
statements {
return_expression_statement {
expression {
int_literal {
value: 0
}
}
}
}
}
}
}
}