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/022-define-func-arg-with-parens.c

3 lines
62 B
C
Raw Normal View History

Add test invoking a macro with an argument containing (non-macro) parentheses. The macro invocation is defined to consume all text between a set of matched parentheses. We previously tested for inner parentheses from a nested function-like macro invocation. Here we test for inner parentheses occuring on their own, (not part of another macro invocation).
2010-05-14 16:51:54 -07:00
#define foo(x) (x)
foo(argument(including parens)for the win)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 48ms 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