mirror of
https://github.com/nArnoSNES/tcc-65816.git
synced 2024-06-12 13:29:29 +00:00
15 lines
207 B
C
15 lines
207 B
C
extern void abort(void);
|
|
extern int strcmp(const char *, const char *);
|
|
|
|
int foo(const char *a)
|
|
{
|
|
return strcmp(a, "main");
|
|
}
|
|
|
|
int main(void)
|
|
{
|
|
if(foo(__FUNCTION__))
|
|
abort();
|
|
return 0;
|
|
}
|