Alessandro Bonazzi e075990ed3 Patch level : 12.0 no-patch
Files correlati     :
Commento            :

Aggiunto il preprocessore c++ mcpp per sostituire il compilatore nella compilazione delle maschere.
2020-11-28 16:24:08 +01:00

18 lines
490 B
Perl

/* e_vargs1.t: Erroneous usage of __VA_ARGS__ */
/* __VA_ARGS__ should not be defined. */
#define __VA_ARGS__ (x, y, z)
/*
* __VA_ARGS__ should be the parameter name in replacement list
* corresponding to '...'.
*/
#define wrong_macro( a, b, __VA_ARGS__) (a + b - __VA_ARGS__)
/* e_vargs2.t: Erroneous macro invocation of variable arguments */
#define debug( ...) fprintf( stderr, __VA_ARGS__)
/* No argument to correspond __VA_ARGS__ */
debug();