aboutsummaryrefslogtreecommitdiff
path: root/test/errors/high-form/InstanceNotModule.fir
diff options
context:
space:
mode:
Diffstat (limited to 'test/errors/high-form/InstanceNotModule.fir')
-rw-r--r--test/errors/high-form/InstanceNotModule.fir8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/errors/high-form/InstanceNotModule.fir b/test/errors/high-form/InstanceNotModule.fir
new file mode 100644
index 00000000..3b228d37
--- /dev/null
+++ b/test/errors/high-form/InstanceNotModule.fir
@@ -0,0 +1,8 @@
+; RUN: firrtl -i %s -o %s.flo -x X -p c | tee %s.out | FileCheck %s
+; CHECK: Module Top2 is not defined.
+
+circuit Top :
+ module Top :
+ wire x : UInt<1>
+ inst t of Top2
+