Closed jounathaen closed 5 years ago
At the moment, there is no mechanism in place to ensure that the README example works, and it will break if it is not updated on API changes, which still happen in relatively high frequency. There are unfinished parts (like data layout declaration) and an API cleanup required before fixing as version 1.0.
It would be good to have a test case which automatically gets embedded into the README (probably needs the README to be generated from a template). I will keep this issue open as reminder.
This said, the example/ subdirectory has code which is used in the test suite, and always will work.
... have a test case which automatically gets embedded into the README
Fixed in 1fd76baf3
I tried to compile the example from the README, but it did not compile, neither with gcc nor with clang. Output: