mirror of https://github.com/llvm/circt.git
12 lines
450 B
MLIR
12 lines
450 B
MLIR
// RUN: circt-translate %s --export-systemc --verify-diagnostics --split-input-file | FileCheck %s
|
|
|
|
// CHECK: <<UNSUPPORTED OPERATION (hw.module)>>
|
|
// expected-error @+1 {{no emission pattern found for 'hw.module'}}
|
|
hw.module @notSupported () { }
|
|
|
|
// -----
|
|
|
|
// CHECK: <<UNSUPPORTED TYPE (!hw.inout<i2>)>>
|
|
// expected-error @+1 {{no emission pattern found for type '!hw.inout<i2>'}}
|
|
systemc.module @invalidType (%port0: !systemc.in<!hw.inout<i2>>) {}
|