You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the tests/c/*.c directory, these files are used to test C compatibility. These are just normal C program source files. The LM compiler is now working to accept C input.
How it works
These files should NOT use the C preprocessor.
Any features other than preprocessing are valid to test
tests should not be longer than 30 lines of code
when tested, LM parses the file and generates a new file "tmp.c" which should be identical aside from whitespace
What to submit
To add a test case
create a new file tests/c/[test name].c exhibiting the C feature that you wish to test
create an empty file tests/c/[test name].c.out (silence here indicates success)
create an empty file tests/c/[test name].c.skip
this file marks the test as skippable (will be removed as C frontend improves)
The text was updated successfully, but these errors were encountered:
In the
tests/c/*.c
directory, these files are used to test C compatibility. These are just normal C program source files. The LM compiler is now working to accept C input.How it works
What to submit
To add a test case
tests/c/[test name].c
exhibiting the C feature that you wish to testtests/c/[test name].c.out
(silence here indicates success)tests/c/[test name].c.skip
The text was updated successfully, but these errors were encountered: