aboutsummaryrefslogtreecommitdiff
path: root/test/errors/high-form/Flip-Mem.fir
diff options
context:
space:
mode:
Diffstat (limited to 'test/errors/high-form/Flip-Mem.fir')
-rw-r--r--test/errors/high-form/Flip-Mem.fir6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/errors/high-form/Flip-Mem.fir b/test/errors/high-form/Flip-Mem.fir
new file mode 100644
index 00000000..67fae14f
--- /dev/null
+++ b/test/errors/high-form/Flip-Mem.fir
@@ -0,0 +1,6 @@
+; RUN: firrtl -i %s -o %s.flo -x X -p c | tee %s.out | FileCheck %s
+; CHECK: Memory m cannot be a bundle type with flips.
+
+circuit Flip-Mem :
+ module Flip-Mem :
+ mem m : {x : UInt<3>, flip y : UInt<5>}[10]