代码搜索:paste
找到约 6,498 项符合「paste」的源代码
代码结果 6,498
www.eeworm.com/read/233448/4685939
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/233448/4685962
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/233448/4685980
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/233448/4686002
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
www.eeworm.com/read/233448/4686005
c tr-paste.c
/* Test for proper comment elimination semantics from cpplib's -traditional.
This should compile and link with compiled with `gcc -traditional-cpp'.
Test case by Jason R. Thorpe
www.eeworm.com/read/233448/4686006
c paste9.c
/* Copyright (C) 2000 Free Software Foundation, Inc. */
/* { dg-do run } */
/* { dg-options "" } */
/* Apparently older preprocessors used to fail this test. */
#include
extern void a
www.eeworm.com/read/233448/4686080
c paste11.c
/* Copyright (C) 2000 Free Software Foundation, Inc. */
/* { dg-do preprocess } */
/* Test correct pasting of identifiers and numbers. We can paste any
number, as long as no '.', '-' or '+' app
www.eeworm.com/read/233448/4686081
c paste1.c
/* Copyright (C) 2000 Free Software Foundation, Inc. */
/* { dg-do preprocess } */
/* Test operator ## semantics. */
#define bad1 ## owt /* { dg-error "cannot" "## at objlike start" } */
#define
www.eeworm.com/read/233448/4686095
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/233448/4686110
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