summaryrefslogtreecommitdiff
path: root/src/systemc/tests/systemc/communication/sc_export/test04/test04.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemc/tests/systemc/communication/sc_export/test04/test04.cpp')
-rw-r--r--src/systemc/tests/systemc/communication/sc_export/test04/test04.cpp17
1 files changed, 17 insertions, 0 deletions
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;
+}