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
b673ff91abec7d0ddb09a1fcddc734c3425eb8eb
third_party_mesa3d/glcpp/tests/023-define-extra-whitespace.c

9 lines
189 B
C
Raw Normal View History

Add test with extra whitespace in macro defintions and invocations. This whitespace is not dealt with in an elegant way yet so this test does not pass currently.
2010-05-14 16:58:00 -07:00
#define noargs() 1
# define onearg(foo) foo
# define twoargs( x , y ) x y
# define threeargs( a , b , c ) a b c
noargs ( )
Remove "unnecessary" whitespace from some tests. This whitespace was not part of anything being tested, and it introduces differences (that we don't actually care about) between the output of "gcc -E" and glcpp. Just eliminate this extra whitespace to reduce spurious test-case failures.
2010-05-20 14:05:37 -07:00
onearg ( 2 )
twoargs ( 3 , 4 )
Add test with extra whitespace in macro defintions and invocations. This whitespace is not dealt with in an elegant way yet so this test does not pass currently.
2010-05-14 16:58:00 -07:00
threeargs ( 5 , 6 , 7 )
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 30ms Template: 1ms
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