mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-25 14:48:12 +02:00
The current code lets a few invalid pastes through, such as an string pasted onto the end of an integer. Extend the invalid-paste test to catch some of these. Reviewed-by: Matt Turner <mattst88@gmail.com>
7 lines
98 B
C
7 lines
98 B
C
#define PASTE(x,y) x ## y
|
|
PASTE(<,>)
|
|
PASTE(0,abc)
|
|
PASTE(1,=)
|
|
PASTE(2,@)
|
|
PASTE(3,-4)
|
|
PASTE(4,+5.2)
|