aboutsummaryrefslogtreecommitdiff
path: root/test/errors
diff options
context:
space:
mode:
authorazidar2016-01-23 07:00:39 -0800
committerazidar2016-01-23 07:00:39 -0800
commit854b5d1b1e8929f74294dcce1bfb18dfbf7c874e (patch)
treec4bef9be3029d379d272c191c84ca43df0124ca0 /test/errors
parent99062792e5006dbf4c6b1f97da9121bbd6217c7a (diff)
Added prefix checker, now compliant with firrtl spec
Diffstat (limited to 'test/errors')
-rw-r--r--test/errors/high-form/Prefix.fir7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/errors/high-form/Prefix.fir b/test/errors/high-form/Prefix.fir
index ed5245b3..ba4a28a2 100644
--- a/test/errors/high-form/Prefix.fir
+++ b/test/errors/high-form/Prefix.fir
@@ -1,10 +1,9 @@
; RUN: firrtl -i %s -o %s.v -X verilog -p c 2>&1 | tee %s.out | FileCheck %s
-; CHECK: Reference x$y and x share a prefix.
-; XFAIL: *
+; CHECK: Symbol x$z$y is a prefix.
circuit Top :
module Top :
- wire x : UInt<1>
- wire x$y : UInt<2>
+ wire x : UInt<2>
+ wire x$z$y : UInt<1>