1 /* { dg-do preprocess } */
3 /* Test source Robert Lipe, with minor modifications for the testsuite
4 by Neil Booth. 29 Oct 2000. */
6 #define _VA_ARGS_0() 42
10 #define __VA_ARGLIST(argc,list) \
13 #define _CAT_LIST(argc,list1,list2) \
14 _L_##argc list1 _R_##argc list2
16 #define _VA_ARGLIST(argc,list1,list2) \
18 _CAT_LIST(argc, list1, list2))
20 #define BLAH(a) _VA_ARGLIST(a, (), ())
23 #error Simulated varargs macros