diff options
| author | azidar | 2015-05-05 17:37:27 -0700 |
|---|---|---|
| committer | azidar | 2015-05-05 17:37:27 -0700 |
| commit | 791334cced721789fad180b6479cfa783963032f (patch) | |
| tree | 057c3bf7bbd4e2a37daa5cdaec77a17d479108d9 /test/errors/high-form/InvalidSubexp.fir | |
| parent | 5b23a9a645db190cea69f30aa1cd370c257fe774 (diff) | |
Added a bunch of tests. In the middle of implementing check kinds and check types. Does not compile
Diffstat (limited to 'test/errors/high-form/InvalidSubexp.fir')
| -rw-r--r-- | test/errors/high-form/InvalidSubexp.fir | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/errors/high-form/InvalidSubexp.fir b/test/errors/high-form/InvalidSubexp.fir new file mode 100644 index 00000000..85fad6fb --- /dev/null +++ b/test/errors/high-form/InvalidSubexp.fir @@ -0,0 +1,9 @@ +; RUN: firrtl -i %s -o %s.flo -x X -p c | tee %s.out | FileCheck %s +; CHECK: Invalid index access to non-reference. +; CHECK: Invalid subfield access to non-reference. + +circuit Top : + module Top : + wire x : UInt<4> + add(x,x)[10] := UInt(1) + add(x,x).x := UInt(1) |
