mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-18 22:28:06 +02:00
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>
9 lines
160 B
C
9 lines
160 B
C
// This comment continues to the next line, hiding the define \
|
|
#define CONTINUATION_UNSUPPORTED
|
|
|
|
#ifdef CONTINUATION_UNSUPPORTED
|
|
failure
|
|
#else
|
|
success
|
|
#endif
|
|
|