summaryrefslogtreecommitdiffstats
path: root/tests/test_compiles.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_compiles.c')
-rw-r--r--tests/test_compiles.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/test_compiles.c b/tests/test_compiles.c
new file mode 100644
index 00000000..cb4e16d3
--- /dev/null
+++ b/tests/test_compiles.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;
+}