From 791334cced721789fad180b6479cfa783963032f Mon Sep 17 00:00:00 2001 From: azidar Date: Tue, 5 May 2015 17:37:27 -0700 Subject: Added a bunch of tests. In the middle of implementing check kinds and check types. Does not compile --- test/errors/parser/InstanceNotRef.fir | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/errors/parser/InstanceNotRef.fir (limited to 'test/errors/parser/InstanceNotRef.fir') diff --git a/test/errors/parser/InstanceNotRef.fir b/test/errors/parser/InstanceNotRef.fir new file mode 100644 index 00000000..a6996fee --- /dev/null +++ b/test/errors/parser/InstanceNotRef.fir @@ -0,0 +1,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)) + -- cgit v1.2.3