aboutsummaryrefslogtreecommitdiff
path: root/test/passes
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes')
-rw-r--r--test/passes/expand-whens/non-ref.fir12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/passes/expand-whens/non-ref.fir b/test/passes/expand-whens/non-ref.fir
new file mode 100644
index 00000000..762619a7
--- /dev/null
+++ b/test/passes/expand-whens/non-ref.fir
@@ -0,0 +1,12 @@
+; RUN: firrtl -i %s -o %s.flo -X flo -p c | tee %s.out | FileCheck %s
+
+; CHECK: Expand Whens
+circuit top :
+ module top :
+ input clk : Clock
+ input reset : UInt<1>
+ wire x : UInt<1>
+
+; CHECK-NOT: wire x : UInt<1>
+; CHECK: Finished Expand Whens
+