aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_multiple_files.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_multiple_files.c')
-rw-r--r--tests/test_multiple_files.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/test_multiple_files.c b/tests/test_multiple_files.c
new file mode 100644
index 0000000..cb4e16d
--- /dev/null
+++ b/tests/test_multiple_files.c
@@ -0,0 +1,13 @@
+/*
+ * Tests if still compile if typedefs are redfefined in STATIC_ASSERTS when
+ * proto file includes another poto file
+ */
+
+#include <stdio.h>
+#include <pb_encode.h>
+#include "callbacks2.pb.h"
+
+int main()
+{
+ return 0;
+}