This website requires JavaScript.
Explore
Help
Register
Sign In
github-repos
/
tinycc
Watch
1
Star
0
Fork
0
You've already forked tinycc
mirror of
https://github.com/mirror/tinycc.git
synced
2025-01-05 04:40:06 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
8f9bf3f223
tinycc
/
tests
/
tests2
/
42_function_pointer.expect
6 lines
15 B
Plaintext
Raw
Normal View
History
Unescape
Escape
tests: Added numerous tests. The tests are taken almost verbatim from the open source project PicoC. It can be found at https://code.google.com/p/picoc/. The tests range from very simple/trivial ones to more complicated. My view is that the more tests the better. Without tests like this I was very reluctant to make any changes to tcc for the fear of breaking things. The tests pass on Win32, OSX, Linux x86 and x86_64. One or two tests fail on each platform due to differences in the runtime library.
2012-06-19 01:27:32 +08:00
yo 24
42
function pointer compare tccelf.c: - Check if symbol is in data section and UNDEF. Then generate new relocation and let dynamic linker solve it. tests/tests2/42_function_pointer.c: - Add new test code
2020-09-21 15:18:48 +08:00
1
1
1
Reference in New Issue
Copy Permalink