aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/vpi/vpi005/vpi2.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/vpi/vpi005/vpi2.c')
-rw-r--r--testsuite/vpi/vpi005/vpi2.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/vpi/vpi005/vpi2.c b/testsuite/vpi/vpi005/vpi2.c
new file mode 100644
index 000000000..e41469b82
--- /dev/null
+++ b/testsuite/vpi/vpi005/vpi2.c
@@ -0,0 +1,13 @@
+#include <stdio.h>
+#include <vpi_user.h>
+
+void my_startup()
+{
+ printf ("VPI lib 2\n");
+}
+
+void (*vlog_startup_routines[]) () =
+{
+ my_startup,
+ 0
+};