Remove unused includes from regression tests

This cleanup avoids giving the false impression we would be testing any
functions declared in those header files, which in turn simplifies moving tests
that exercise the internal modelling library to a separate folder.
This commit is contained in:
Michael Tautschnig 2018-10-18 14:37:20 +00:00
parent 992bd3a4fa
commit 83d1f312e3
11 changed files with 3 additions and 16 deletions

View File

@ -1,4 +1,4 @@
#include <stdio.h>
#include <assert.h>
int main()
{

View File

@ -1,5 +1,3 @@
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
typedef unsigned int u32;
@ -17,11 +15,11 @@ u32 myfunc_2(u32 value2){
}
int main(void){
myfuncptr fptr=NULL;
myfuncptr fptr = 0;
u32 value;
assert(fptr == NULL);
assert(fptr == 0);
fptr=myfunc_1;
value=2;

View File

@ -1,5 +1,4 @@
#include <stdarg.h>
#include <stdio.h>
#include <assert.h>
// how to do it:

View File

@ -1,4 +1,3 @@
#include <stdio.h>
#include <assert.h>
struct A {

View File

@ -1,4 +1,3 @@
#include <stdio.h>
#include <assert.h>
int main(int argc, char** argv) {

View File

@ -1,4 +1,3 @@
#include <stdio.h>
#include <assert.h>
int main(int argc, char** argv) {

View File

@ -1,4 +1,3 @@
#include <stdio.h>
#include <assert.h>
int main(int argc, char** argv) {

View File

@ -1,5 +1,4 @@
#include <assert.h>
#include <stdio.h>
int main()
{

View File

@ -1,4 +1,3 @@
#include <stdlib.h>
#include <assert.h>
int main()

View File

@ -1,6 +1,3 @@
#include <assert.h>
#include <stdlib.h>
int main()
{
{

View File

@ -1,4 +1,3 @@
#include <stdio.h>
#include <stdarg.h>
#include <assert.h>