Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/other/pr89560.C @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
1 // PR bootstrap/89560 | |
2 // { dg-do compile } | |
3 | |
4 #define TEN(x) x##0, x##1, x##2, x##3, x##4, x##5, x##6, x##7, x##8, x##9, | |
5 #define HUNDRED(x) TEN(x##0) TEN(x##1) TEN(x##2) TEN(x##3) TEN(x##4) \ | |
6 TEN(x##5) TEN(x##6) TEN(x##7) TEN(x##8) TEN(x##9) | |
7 int foo (int, ...); | |
8 | |
9 int | |
10 bar () | |
11 { | |
12 return (foo (HUNDRED (1) 0)); | |
13 } |