git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@81 59561ff5-6e30-0410-9f3c-9617f08c8826
This commit is contained in:
vlm 2004-08-11 05:26:33 +00:00
parent 1977da6c39
commit 47ad09eab1
2 changed files with 24 additions and 4 deletions

View File

@ -1,6 +1,6 @@
This is a very funny test automation. The name of the check-*.c file is used
as a pointer to the file in ../..//tests/*-*.asn1. This file is compiled
using the asn1c from above directory. Then, everything is build together
in a temporary directory with a check-*.c used as a testing engine.
This is a very funny test automation. The name of the check-N.c file is used
as a pointer to the file in ../../tests/N-*.asn1. This file is compiled
using the asn1c compiler from above directory. Then, everything is build
together in a temporary directory with a check-N.c used as a testing engine.

20
asn1c/tests/check-42.cc Normal file
View File

@ -0,0 +1,20 @@
/*
* This file checks that the output may be compiled by the C++ compiler.
*/
#undef NDEBUG
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <string.h>
#include <assert.h>
#include <VariablePart.h>
int
main() {
VariablePart_t t;
t.present = VariablePart_PR_vrange;
return 0;
}