summaryrefslogtreecommitdiff
path: root/src/systemc/tests/systemc/communication/sc_export/test04
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemc/tests/systemc/communication/sc_export/test04')
-rw-r--r--src/systemc/tests/systemc/communication/sc_export/test04/golden/test04.log4
-rw-r--r--src/systemc/tests/systemc/communication/sc_export/test04/test04.cpp17
2 files changed, 21 insertions, 0 deletions
diff --git a/src/systemc/tests/systemc/communication/sc_export/test04/golden/test04.log b/src/systemc/tests/systemc/communication/sc_export/test04/golden/test04.log
new file mode 100644
index 000000000..df6df8478
--- /dev/null
+++ b/src/systemc/tests/systemc/communication/sc_export/test04/golden/test04.log
@@ -0,0 +1,4 @@
+SystemC Simulation
+
+Error: (E109) complete binding failed: export not bound: export 'x.a' (sc_export)
+In file: <removed by verify.pl>
diff --git a/src/systemc/tests/systemc/communication/sc_export/test04/test04.cpp b/src/systemc/tests/systemc/communication/sc_export/test04/test04.cpp
new file mode 100644
index 000000000..6a2b21421
--- /dev/null
+++ b/src/systemc/tests/systemc/communication/sc_export/test04/test04.cpp
@@ -0,0 +1,17 @@
+#include "systemc.h"
+
+SC_MODULE(X)
+{
+ SC_CTOR(X) : a("a")
+ {
+ }
+ sc_export<sc_signal_inout_if<int> > a;
+};
+
+int sc_main(int argc, char* argv[])
+{
+ X x("x");
+
+ sc_start(1, SC_NS);
+ return 0;
+}