Avoid crash with "Avoid a crash with weak symbols for "make test""
This fixes commit197a6acb30which fixed commit95b9a477b6Also remove useless example files
This commit is contained in:
@ -1,11 +0,0 @@
|
||||
#! /usr/local/bin/tcc -run
|
||||
#include <tcclib.h>
|
||||
|
||||
extern void weak_f (void) __attribute__ ((weak));
|
||||
|
||||
int main ()
|
||||
{
|
||||
if (weak_f) {
|
||||
weak_f();
|
||||
}
|
||||
}
|
||||
@ -1,6 +0,0 @@
|
||||
#include <tcclib.h>
|
||||
|
||||
void weak_f (void)
|
||||
{
|
||||
printf("Weak\n");
|
||||
}
|
||||
Reference in New Issue
Block a user