Remove all
[com/asn1c.git] / tests / tests-c-compiler / check-src / check-46.c
diff --git a/tests/tests-c-compiler/check-src/check-46.c b/tests/tests-c-compiler/check-src/check-46.c
deleted file mode 100644 (file)
index 21ae690..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-#undef NDEBUG
-#include <stdio.h>
-#include <stdlib.h>
-#include <sys/types.h>
-#include <string.h>
-#include <assert.h>
-
-#include <T.h>
-
-uint8_t buf1[] = {
-       32 | ((2 << 6) + 3),    /* [3], constructed */
-       5,
-       ((2 << 6) + 5), /* [5], primitive */
-       3,      /* L */
-  'a',
-  'b',
-  'c',
-};
-
-static void
-check(uint8_t *buf, size_t size, size_t consumed) {
-       T_t t, *tp;
-       asn_dec_rval_t rval;
-
-       tp = memset(&t, 0, sizeof(t));
-
-       fprintf(stderr, "Buf %p\n", buf);
-       rval = ber_decode(0, &asn_DEF_T, (void **)&tp, buf, size);
-       fprintf(stderr, "Returned code %d, consumed %zd\n",
-               (int)rval.code, rval.consumed);
-
-       assert(rval.code == RC_OK);
-       assert(rval.consumed == consumed);
-       ASN_STRUCT_RESET(asn_DEF_T, tp);
-}
-
-int
-main(int ac, char **av) {
-
-       (void)ac;       /* Unused argument */
-       (void)av;       /* Unused argument */
-
-       check(buf1, sizeof(buf1), sizeof(buf1));
-
-       return 0;
-}
-