summaryrefslogtreecommitdiff
path: root/tests/projects/package/components/src/main.cpp
diff options
context:
space:
mode:
authorruki <[email protected]>2022-10-17 22:39:59 +0800
committerruki <[email protected]>2022-10-17 22:39:59 +0800
commit5692805fd0bb1aa70cd6965de83068db60743b34 (patch)
tree1eca354f261b15ee4b1b76dc8068d5f8b811c320 /tests/projects/package/components/src/main.cpp
parent81b97b43fab70ef64fda83986d7b90de6721cb70 (diff)
add components tests
Diffstat (limited to 'tests/projects/package/components/src/main.cpp')
-rw-r--r--tests/projects/package/components/src/main.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/projects/package/components/src/main.cpp b/tests/projects/package/components/src/main.cpp
new file mode 100644
index 000000000..bf0ad1553
--- /dev/null
+++ b/tests/projects/package/components/src/main.cpp
@@ -0,0 +1,14 @@
+#include <SFML/Graphics.hpp>
+#include <SFML/Network.hpp>
+
+extern "C" {
+void network();
+void graphics();
+}
+
+int main(int argc, char** argv) {
+ network();
+ graphics();
+ return 0;
+}
+