cc5fc8bf2f
First we test that line continuations are honored within a comment, (as recently changed in glcpp), then we test that line continuations can be disabled via an option within the context. This is tested via the new support for a test-specific command-line option passed to glcpp. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
14 lines
167 B
C
14 lines
167 B
C
// glcpp-args: --disable-line-continuations
|
|
|
|
// This comments ends with a backslash \\
|
|
#define NO_CONTINUATION
|
|
|
|
#ifdef NO_CONTINUATION
|
|
success
|
|
#else
|
|
failure
|
|
#endif
|
|
|
|
|
|
|