代码搜索:paste
找到约 6,498 项符合「paste」的源代码
代码结果 6,498
www.eeworm.com/read/470720/1452479
c paste2.c
/* Copyright (C) 2000 Free Software Foundation, Inc. */
/* { dg-do run } */
/* { dg-options "-std=c99 -pedantic-errors" } */
/* Test ## behavior and corner cases thoroughly. The macro expander
www.eeworm.com/read/470720/1452491
c paste6.c
/* 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 . */
/* { dg-d
www.eeworm.com/read/470693/1464164
c paste4.c
/* Copyright (C) 2000 Free Software Foundation, Inc. */
/* { dg-do compile } */
/* { dg-options -save-temps } */
/* Since 1.0e and + form the pasted token, 1 is a separate token and
so should be
www.eeworm.com/read/470693/1464268
c paste5.c
/* Regression test for bug in convoluted situation involving token paste
plus function-like macros used outside function context. It may be
easier to understand if you mentally replace 'struct'
www.eeworm.com/read/470693/1464272
c paste10.c
/* Copyright (C) 2000 Free Software Foundation, Inc. */
/* { dg-do preprocess } */
/* { dg-options "" } */
/* This testcase used to produce a bogus "invalid paste" warning, owing
to not clearing
www.eeworm.com/read/470693/1464289
c paste13.c
/* Copyright (C) 2000 Free Software Foundation, Inc. */
/* { dg-do preprocess } */
/* This used to be recognized as a comment when lexing after pasting
spellings. Neil Booth, 9 Oct 2002. */
#
www.eeworm.com/read/470693/1464306
c paste3.c
/* Copyright (C) 2000 Free Software Foundation, Inc. */
/* { dg-do compile } */
#define plus +
void foo()
{
int a, b = 1;
/* The correct "a = 1 + ++b" will compile.
The incorrect "a = 1
www.eeworm.com/read/470693/1464328
c paste7.c
/* { dg-do run } */
#define D_2 1, 2
#define C_2(X, I0, I1) X##_a = I0, X##_b = I1
#define B_2(X, I) C_2(X, I)
#define A(N, X) B_##N (X, D_##N)
extern void abort(void);
extern void exit(int);
int x
www.eeworm.com/read/470693/1464337
c paste8.c
/* { dg-do preprocess } */
/* { dg-options "" } */
int foo(int, ...);
#define a(x, y...) foo(x, ##y)
a(1)
a(1, 2, 3)
#define b(x, y, z...) foo(x, ##y)
b(1, 2, 3) /* { dg-warning "valid preprocessi
www.eeworm.com/read/470693/1464354
c paste12.c
/* { dg-do preprocess } */
/* Test correct diagnostics when pasting in #include.
Source: PR preprocessor/6780. */
#define inc2(a,b)
#define INC(X) inc2(X,h)
#include INC(stdio) /* { dg-e