aboutsummaryrefslogtreecommitdiff
path: root/test/errors
diff options
context:
space:
mode:
Diffstat (limited to 'test/errors')
-rw-r--r--test/errors/width/Conservative.fir6
-rw-r--r--test/errors/width/SmallWidth.fir3
2 files changed, 7 insertions, 2 deletions
diff --git a/test/errors/width/Conservative.fir b/test/errors/width/Conservative.fir
new file mode 100644
index 00000000..43aa648f
--- /dev/null
+++ b/test/errors/width/Conservative.fir
@@ -0,0 +1,6 @@
+; RUN: firrtl -i %s -o %s.v -X verilog -p ciwT 2>&1 | tee %s.out | FileCheck %s
+; CHECK: Width too small for UIntValue.
+
+circuit Top :
+ module Top :
+ node bar = UInt<1>("h1111")
diff --git a/test/errors/width/SmallWidth.fir b/test/errors/width/SmallWidth.fir
index 9e26699e..0ee60ec0 100644
--- a/test/errors/width/SmallWidth.fir
+++ b/test/errors/width/SmallWidth.fir
@@ -1,6 +1,5 @@
; RUN: firrtl -i %s -o %s.v -X verilog -p ciwT 2>&1 | tee %s.out | FileCheck %s
-; CHECK: Width too small for constant "h121".
-; CHECK: Width too small for constant "h13333".
+; CHECK: Width too small for UIntValue.
circuit Top :
module Top :