This website requires JavaScript.
Explore
Help
Sign in
fdo-mirrors
/
mesa
Watch
1
Star
0
Fork
You've already forked mesa
0
mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced
2026-05-25 19:08:12 +02:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
1
381a89cf2a
mesa
/
src
/
glsl
/
glcpp
/
tests
/
082-invalid-paste.c
8 lines
98 B
C
Raw
Normal View
History
Unescape
Escape
glcpp: Add several tests for diagnostics. Which are proving to be useful since some of these tests are not yet acting as desired, (in particular, the unterminated if test is not generating any diagnostic).
2010-08-11 13:48:13 -07:00
#
define PASTE(x,y) x ## y
PASTE
(
<
,
>
)
glcpp: Extend the invalid-paste test 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>
2012-11-28 12:57:09 -08:00
PASTE
(
0
,
abc
)
PASTE
(
1
,
=
)
PASTE
(
2
,
@
)
PASTE
(
3
,
-
4
)
PASTE
(
4
,
+
5.2
)
Reference in a new issue
Copy permalink