Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/cpp/paste6.c @ 132:d34655255c78
update gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 10:21:07 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* Regression test for paste appearing at the beginning of a set of actual arguments. Original bug exposed by Linux kernel. Problem reported by Jakub Jelinek <jakub@redhat.com>. */ /* { dg-options "-ftrack-macro-expansion=0" } { dg-do compile } */ extern int foo(int x); #define bar(x) foo(x) #define baz(x) bar(##x) int quux(int y) { return baz(y); } /* { dg-error "valid preprocessing" } */