aboutsummaryrefslogtreecommitdiff
path: root/test/errors/high-form/SpecialChars.fir
diff options
context:
space:
mode:
Diffstat (limited to 'test/errors/high-form/SpecialChars.fir')
-rw-r--r--test/errors/high-form/SpecialChars.fir35
1 files changed, 35 insertions, 0 deletions
diff --git a/test/errors/high-form/SpecialChars.fir b/test/errors/high-form/SpecialChars.fir
new file mode 100644
index 00000000..f224ce68
--- /dev/null
+++ b/test/errors/high-form/SpecialChars.fir
@@ -0,0 +1,35 @@
+; RUN: firrtl -i %s -o %s.v -X verilog -p c | tee %s.out | FileCheck %s
+; CHECK: Done!
+
+circuit Top :
+ module Top :
+ wire x : UInt<1>
+ x := UInt(1)
+ wire x~y : UInt<2>
+ x~y := UInt(1)
+ wire x!y : UInt<2>
+ x!y := UInt(1)
+ wire x@y : UInt<2>
+ x@y := UInt(1)
+ wire x#y : UInt<2>
+ x#y := UInt(1)
+ wire x%y : UInt<2>
+ x%y := UInt(1)
+ wire x^y : UInt<2>
+ x^y := UInt(1)
+ wire x*y : UInt<2>
+ x*y := UInt(1)
+ wire x-y : UInt<2>
+ x-y := UInt(1)
+ wire x_y : UInt<2>
+ x_y := UInt(1)
+ wire x+y : UInt<2>
+ x+y := UInt(1)
+ wire x=y : UInt<2>
+ x=y := UInt(1)
+ wire x?y : UInt<2>
+ x?y := UInt(1)
+ wire x/y : UInt<2>
+ x/y := UInt(1)
+
+