mirror of https://gerrit.osmocom.org/asn1c
test for compilability
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@741 59561ff5-6e30-0410-9f3c-9617f08c8826
This commit is contained in:
parent
609cb858b0
commit
1d5b3148ed
|
@ -0,0 +1,24 @@
|
|||
#undef NDEBUG
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include <Type.h>
|
||||
|
||||
int
|
||||
main(int ac, char **av) {
|
||||
Type_t t;
|
||||
|
||||
(void)ac; /* Unused argument */
|
||||
(void)av; /* Unused argument */
|
||||
|
||||
memset(&t, 0, sizeof(t));
|
||||
|
||||
/*
|
||||
* No plans to fill it up: just checking whether it compiles or not.
|
||||
*/
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue