1/* Regression test for preprocessor crash.
2   Reported by Mathias Froehlich <frohlich@na.uni-tuebingen.de>.  */
3/* { dg-do preprocess } */
4/* { dg-options "-ansi" } */
5#define foo
6
7#define __CAT__(a,b,c,d) a##b##c##d
8#define CAT(a,b,c,d) __CAT__(a,b,c,d)
9
10#define bar CAT(,foo,bar,)
11bar
12