代码搜索结果
找到约 21,386 项符合
Switch 的代码
switch-8.c
/* PR middle-end/18493 */
/* { dg-do link } */
int main() {
goto bug;
switch(0) {
bug: return 0;
}
}
switch-4.c
/* PR middle-end/17657 */
/* { dg-do compile } */
/* { dg-options "-O2" } */
extern signed char foo(int);
void bar (void)
{
signed char tmp = foo (0);
int t1 = tmp;
switch (t1)
{
case
switch-7.c
/* Test diagnostics for switch statements and labels therein. Test
for case ranges with -pedantic-errors. */
/* Origin: Joseph Myers */
/* { dg-do compile } */
/* { dg-o
switch-1.c
/* { dg-do compile { target rs6000-*-linux* powerpc-*-linux*} } */
/* { dg-options "-fpic -O2" } */
void f (char *s)
{
for (;;)
{
int t = 6;
switch (t)
{
case 2:
*s = '2';
cas
switch-5.c
/* Test diagnostics for switch statements and labels therein. Test
with no special options. */
/* Origin: Joseph Myers */
/* { dg-do compile } */
/* { dg-options "" } */
switch-3.c
/* PR c/9262 */
/* Originator: Rasmus Hahn */
/* { dg-do compile } */
int foo(int i)
{
switch (i)
case 3:
return 1;
case 4: /* { dg-error "not within a swi
switch.c
#include
void Switchdemo(void)
{ Byte outputstate;
switch(outputstate)
{case 1:
P1_0=0;
P1_1=0;
P1_2=0;
break; //跳出循环
case 2:
P1_0=1;
P1_1=0;
P1_2=0;
break;
switch.uv2
### uVision2 Project, (C) Keil Software
### Do not modify !
Target (Target 1), 0x0000 // Tools: 'MCS-51'
Group (Source Group 1)
File 1,1,
Options 1,0,0 // Target
switch.pm
use CGI;
1;
__END__
=head1 NAME
CGI::Switch - Backward compatibility module for defunct CGI::Switch
=head1 SYNOPSIS
Do not use this module. It is deprecated.
=head1 ABSTRACT
=head1 DESCRIPTION
switch.c
#include
#include
#include
#include
#include "view.h"
#include "mdi.h"
#include "icon.h"
#include "switch.h"
#include "win1632.h"
static an_MDI_i