aboutsummaryrefslogtreecommitdiff
path: root/test/errors/high-form/NegVecSize.fir
blob: 8a89d4e6b6fc4e987b09fac7e472bce071413fff (plain)
1
2
3
4
5
6
7
; RUN: firrtl -i %s -o %s.v -X verilog -p c 2>&1 | tee %s.out | FileCheck %s
; CHECK: Vector type size cannot be negative

circuit Top : 
  module Top : 
    wire x : UInt<3>[-5]