mirror of https://gerrit.osmocom.org/asn1c
comment
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@81 59561ff5-6e30-0410-9f3c-9617f08c8826
This commit is contained in:
parent
1977da6c39
commit
47ad09eab1
|
@ -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.
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue