mirror of
https://github.com/arnaucube/circom.git
synced 2026-02-07 03:06:42 +01:00
for loops
This commit is contained in:
9
test/circuits/add.circom
Normal file
9
test/circuits/add.circom
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
template Add() {
|
||||
signal input in[2];
|
||||
signal output out;
|
||||
|
||||
out <== in[0] + in[1];
|
||||
}
|
||||
|
||||
component main = Add();
|
||||
Reference in New Issue
Block a user