代码搜索结果
找到约 820,005 项符合
if 的代码
if.h
/****************************************************************************
* net/if.h
*
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt
if.h
/* net/if.h -- declarations for inquiring about network interfaces
Copyright (C) 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free softwar
if.h
/* net/if.h -- declarations for inquiring about network interfaces
Copyright (C) 1997,98,99,2000,2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library
if-empty-1.c
/* Test diagnostics for empty bodies in if / else. */
/* Origin: Joseph Myers */
/* { dg-do compile } */
/* { dg-options "-Wempty-body" } */
void
f (int x)
{
if (x)
;
omp-parallel-if.c
/* { dg-do compile } */
extern int foo(void);
extern void bar(void);
int main ()
{
/* Malformed uses of 'if' and 'num_threads'. */
#pragma omp parallel if (foo () > 10) if (foo () == 3) /* { dg
c90-if-comma-1.c
/* Test for commas in constant expressions in #if: not permitted in C90
but permitted in unevaluated subexpressions in C99. */
/* Origin: Joseph Myers */
/* { dg-do preproce
if-paren.c
/* Copyright (C) 2000 Free Software Foundation, Inc. */
/* { dg-do preprocess } */
/* These now use "!=" rather than "
if-sc.c
/* Copyright (C) 2000 Free Software Foundation, Inc. */
/* { dg-do preprocess } */
/* Test that all operators correctly short circuit. */
#if (2 || 3 / 0) != 1
#error /* { dg-bogus "error" "|| s
if-unary.c
/* Copyright (C) 2000 Free Software Foundation, Inc. */
/* { dg-do preprocess } */
/* Test the various unary operators. */
#if 1 + + + 1 /* allow multiple unary sign operators :) */
#endif
#if
if-4.c
/* Regression test for proper error message. The token name isn't
NUL terminated, so we would print garbage after it. */
/* { dg-do compile } */
#if 1 += 2 /* { dg-error "is not valid" "+= in