代码搜索结果
找到约 820,005 项符合
if 的代码
if.c
/* if.c:
* This file started off as the file for the "if" command in the monitor,
* and has since grown into the file that contains the commands that only
* make sense if they are used in script
if.vm
#*
@test if.vm
This template is used for Velocity regression testing.
If you alter this template make sure you change the
corresponding comparison file so that the regression
test doesn't fail inco
if-empty-1.c
/* Test diagnostics for empty bodies in if / else. */
/* Origin: Joseph Myers */
/* { dg-do compile } */
/* { dg-options "-Wextra" } */
void
f (int x)
{
if (x)
; /* {
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-mpar.c
/* Copyright (C) 2000 Free Software Foundation, Inc. */
/* Test various combinations of missing parentheses give the correct
missing parenthesis message. */
/* { dg-do preprocess } */
#if (1
if-1.c
/* { dg-do preprocess } */
/* { dg-options "-pedantic-errors" } */
#if 0xa != 10
#error 0xa != 10 /* { dg-bogus "#error" "normal conversion" } */
#endif
#if 077 != 63
#error 077 != 63 /* { dg-bogus
if-shift.c
/* Copyright (C) 2000 Free Software Foundation, Inc. */
/* { dg-do preprocess } */
/* Test shift operators. */
#if 1 >
if-mop.c
/* Copyright (C) 2000 Free Software Foundation, Inc. */
/* { dg-do preprocess } */
/* Source: Neil Booth. */
/* Various illegal expressions with missing components. */
#if /* { dg-error "no ex