exit(0) test added

This commit is contained in:
Richard Thier 2025-04-24 18:22:20 +02:00
parent 41181c3d04
commit 2579b4f105

View File

@ -1,10 +1,13 @@
#include<stdio.h>
#include<stdlib.h>
void __attribute__((constructor)) calledFirst();
void __attribute__((destructor)) calledLast();
void main() {
int main() {
printf("\nI am in main");
// return 0;
exit(0); // Even called on this!!!
}
void calledFirst() {