summaryrefslogtreecommitdiff
path: root/src/systemc/tests/systemc/communication/sc_export/test02/test02.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemc/tests/systemc/communication/sc_export/test02/test02.cpp')
-rw-r--r--src/systemc/tests/systemc/communication/sc_export/test02/test02.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/systemc/tests/systemc/communication/sc_export/test02/test02.cpp b/src/systemc/tests/systemc/communication/sc_export/test02/test02.cpp
new file mode 100644
index 000000000..f044fc741
--- /dev/null
+++ b/src/systemc/tests/systemc/communication/sc_export/test02/test02.cpp
@@ -0,0 +1,20 @@
+#include "systemc.h"
+
+SC_MODULE(X)
+{
+ SC_CTOR(X)
+ {
+ a(b);
+ }
+ sc_export<sc_signal_inout_if<int> > a;
+ sc_export<sc_signal_inout_if<int> > b;
+};
+
+int sc_main(int argc, char* argv[])
+{
+ sc_clock clock;
+ X x("x");
+
+ sc_start(1, SC_NS);
+ return 0;
+}