mesa/tests/017-define-func-2-args.c
Carl Worth af71ba41bd Add tests exercising substitution of arguments in function-like macros.
This capability is the only thing that makes function-like macros
interesting. This isn't supported yet so these tests fail for now.
2010-05-14 09:53:50 -07:00

2 lines
40 B
C

#define foo(x,y) ((x)*(y))
foo(bar,baz)