aboutsummaryrefslogtreecommitdiff
path: root/test/errors/parser/InstanceNotRef.fir
blob: a6996feed3a78e180a3bb39dac54b40a471becfc (plain)
1
2
3
4
5
6
7
8
; RUN: firrtl -i %s -o %s.flo -x X -p c | tee %s.out | FileCheck %s
; CHECK: FIRRTL Parsing Error: Expected a reference expression here.

circuit Top :
  module Top :
    wire x : UInt<1>
    inst t of add(UInt(1),UInt(1))