diff options
Diffstat (limited to 'src/glsl/glcpp/tests/023-define-extra-whitespace.c')
-rw-r--r-- | src/glsl/glcpp/tests/023-define-extra-whitespace.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/glsl/glcpp/tests/023-define-extra-whitespace.c b/src/glsl/glcpp/tests/023-define-extra-whitespace.c new file mode 100644 index 00000000000..7ebfed6516c --- /dev/null +++ b/src/glsl/glcpp/tests/023-define-extra-whitespace.c @@ -0,0 +1,8 @@ +#define noargs() 1 +# define onearg(foo) foo + # define twoargs( x , y ) x y + # define threeargs( a , b , c ) a b c +noargs ( ) +onearg ( 2 ) +twoargs ( 3 , 4 ) +threeargs ( 5 , 6 , 7 ) |