aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_multiple_files.c
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2012-11-16 09:33:11 +0200
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2012-11-16 09:33:11 +0200
commit59788e2aabe41d46164184d4c31fd877397b62ee (patch)
tree264f2bc666fa1a29e14bdc63f42e227a30c398e2 /tests/test_multiple_files.c
parentcc29958d34e43ed889536ad4a723fce819544785 (diff)
Rename test_compiles.c to test_multiple_files.c
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;
+}