aboutsummaryrefslogtreecommitdiff
path: root/test/syntax
diff options
context:
space:
mode:
Diffstat (limited to 'test/syntax')
-rw-r--r--test/syntax/letrec-non-struct.fir9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/syntax/letrec-non-struct.fir b/test/syntax/letrec-non-struct.fir
new file mode 100644
index 00000000..37fb2123
--- /dev/null
+++ b/test/syntax/letrec-non-struct.fir
@@ -0,0 +1,9 @@
+; RUN: firrtl %s | tee %s.out | FileCheck %s
+circuit top:
+ module top:
+ input x : UInt(16)
+ output y : UInt(16)
+ letrec:
+ reg r : UInt(10)
+ in:
+ r := UInt(11)