diff options
Diffstat (limited to 'tests/macro-tests.c')
-rw-r--r-- | tests/macro-tests.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/macro-tests.c b/tests/macro-tests.c new file mode 100644 index 0000000..71e9189 --- /dev/null +++ b/tests/macro-tests.c @@ -0,0 +1,12 @@ +#include "lily-test.h" +#include "tests.h" + + +const char * test_LILY_LOCATION() +{ + /* do NOT move the following line, or this test will break! */ + if (strcmp(LILY_LOCATION, "tests/macro-tests.c:8") != 0) { + return "LILY_LOCATION refers to the wrong location!"; + } + return 0; +} |