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:
parent
992bd3a4fa
commit
83d1f312e3
|
@ -1,4 +1,4 @@
|
|||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
|
||||
// how to do it:
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
|
||||
struct A {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
|
||||
int main()
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
{
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <assert.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue