diff options
| author | Jack Koenig | 2021-03-15 16:55:06 -0700 |
|---|---|---|
| committer | GitHub | 2021-03-15 16:55:06 -0700 |
| commit | 96436ae018b3631decb8384ce404ada0daa5d645 (patch) | |
| tree | 4d27eeddbfb96fee1843015aaecb91d7334ab45b /src/test | |
| parent | b3592a4973a50098f71e0e64bf3f0f53a82a82e9 (diff) | |
allowReflectiveAutoCloneType must work outside of Builder context (#1811)
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/scala/chiselTests/AutoClonetypeSpec.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/scala/chiselTests/AutoClonetypeSpec.scala b/src/test/scala/chiselTests/AutoClonetypeSpec.scala index a6e5562a..e0e6b2f0 100644 --- a/src/test/scala/chiselTests/AutoClonetypeSpec.scala +++ b/src/test/scala/chiselTests/AutoClonetypeSpec.scala @@ -127,6 +127,10 @@ class AutoClonetypeSpec extends ChiselFlatSpec with Utils { } } } + "Autoclonetype" should "work outside of a builder context" in { + new BundleWithIntArg(8).cloneType + } + def checkSubBundleInvalid() = { elaborate { new Module { val io = IO(new Bundle{}).suggestName("io") |
