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
829e0a8eff0e657c85fa7fc53a4b456375b434cc
third_party_mesa3d/glcpp/tests/040-token-pasting.c

3 lines
45 B
C
Raw Normal View History

Implement #if, #else, #elif, and #endif with tests. So far the only expression implemented is a single integer literal, but obviously that's easy to extend. Various things including nesting are tested here.
2010-05-20 22:27:07 -07:00
#define paste(a,b) a ## b
paste(one , token)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 45ms 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