Logo
Explore Help
Register Sign In
OpenHarmony/third_party_mesa3d
2
0
Fork 0
You've already forked third_party_mesa3d
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
3370c5f90b537771d73af7783434c0758ea5de29
third_party_mesa3d/glcpp/tests/059-token-pasting-integer.c

5 lines
70 B
C
Raw Normal View History

Add test for token-pasting of integers. This test was tricky to make pass in the take-2 branch. It ends up passing already here with no additional effort, (since we are lexing integers as string-valued token except when in the ST_IF state in the lexer anyway).
2010-05-27 14:45:20 -07:00
#define paste(x,y) x ## y
paste(1,2)
paste(1,000)
paste(identifier,2)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 50ms Template: 0ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API