diff options
| author | Uneven Prankster <unevenprankster@protonmail.com> | 2023-07-17 01:34:34 -0300 |
|---|---|---|
| committer | Uneven Prankster <unevenprankster@protonmail.com> | 2023-07-17 01:34:34 -0300 |
| commit | 88d82c6eaee88398af1de57cddca692a1f74b087 (patch) | |
| tree | df492c2002a1820959703f4f481172cceafeb0a1 /tinycc/tests/tests2/113_btdll.c | |
| parent | 111c133b939c15c57c90cd474d55e84928c6307a (diff) | |
Cleanup feels good! Big work coming up this week.
Diffstat (limited to 'tinycc/tests/tests2/113_btdll.c')
| -rw-r--r-- | tinycc/tests/tests2/113_btdll.c | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/tinycc/tests/tests2/113_btdll.c b/tinycc/tests/tests2/113_btdll.c deleted file mode 100644 index 8ae8981..0000000 --- a/tinycc/tests/tests2/113_btdll.c +++ /dev/null @@ -1,43 +0,0 @@ -int tcc_backtrace(const char*, ...); -#define hello() \ - tcc_backtrace("hello from %s() / %s:%d",__FUNCTION__,__FILE__,__LINE__) - -#ifndef _WIN32 -# define __declspec(n) -#endif - -#if DLL==1 -__declspec(dllexport) int f_1() -{ - hello(); - return 0; -} - - -#elif DLL==2 -__declspec(dllexport) int f_2() -{ - hello(); - return 0; -} - - -#else - -int f_1(); -int f_2(); -int f_main() -{ - hello(); - return 0; -} - -int main () -{ - f_1(); - f_2(); - f_main(); - return 0; -} - -#endif |
