diff options
author | Lev Walkin <vlm@lionet.info> | 2005-08-16 17:00:21 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2005-08-16 17:00:21 +0000 |
commit | da9a3b8a39b6dd861135f7f6cb05ca30271bd4f6 (patch) | |
tree | 350e30485b3b644e2602c011cf425ccd464424ae /asn1c | |
parent | 8eb4b572fd6985c4d538f241b89d990386bec5a0 (diff) |
more words on circular references
Diffstat (limited to 'asn1c')
-rw-r--r-- | asn1c/tests/check-19.c | 24 | ||||
-rw-r--r-- | asn1c/tests/check-39.c | 24 | ||||
-rw-r--r-- | asn1c/tests/check-59.c | 24 | ||||
-rw-r--r-- | asn1c/tests/check-92.-findirect-choice.c | 24 |
4 files changed, 96 insertions, 0 deletions
diff --git a/asn1c/tests/check-19.c b/asn1c/tests/check-19.c new file mode 100644 index 00000000..bb2f7f26 --- /dev/null +++ b/asn1c/tests/check-19.c @@ -0,0 +1,24 @@ +#undef NDEBUG +#include <stdio.h> +#include <stdlib.h> +#include <sys/types.h> +#include <string.h> +#include <assert.h> + +#include <Name.h> + +int +main(int ac, char **av) { + Name_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; +} diff --git a/asn1c/tests/check-39.c b/asn1c/tests/check-39.c new file mode 100644 index 00000000..61638713 --- /dev/null +++ b/asn1c/tests/check-39.c @@ -0,0 +1,24 @@ +#undef NDEBUG +#include <stdio.h> +#include <stdlib.h> +#include <sys/types.h> +#include <string.h> +#include <assert.h> + +#include <T.h> + +int +main(int ac, char **av) { + T_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; +} diff --git a/asn1c/tests/check-59.c b/asn1c/tests/check-59.c new file mode 100644 index 00000000..ba970bed --- /dev/null +++ b/asn1c/tests/check-59.c @@ -0,0 +1,24 @@ +#undef NDEBUG +#include <stdio.h> +#include <stdlib.h> +#include <sys/types.h> +#include <string.h> +#include <assert.h> + +#include <Choice.h> + +int +main(int ac, char **av) { + Choice_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; +} diff --git a/asn1c/tests/check-92.-findirect-choice.c b/asn1c/tests/check-92.-findirect-choice.c new file mode 100644 index 00000000..caa367fd --- /dev/null +++ b/asn1c/tests/check-92.-findirect-choice.c @@ -0,0 +1,24 @@ +#undef NDEBUG +#include <stdio.h> +#include <stdlib.h> +#include <sys/types.h> +#include <string.h> +#include <assert.h> + +#include <Everything.h> + +int +main(int ac, char **av) { + Everything_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; +} |