代码搜索:declared
找到约 3,220 项符合「declared」的源代码
代码结果 3,220
www.eeworm.com/read/162614/5521442
c err-msg10.c
// { dg-do assemble }
// GROUPS passed error-messages
class foo {
public:
virtual static int f () = 0;// { dg-error "" } member `f' cannot be declared both virtual and static.*
};
www.eeworm.com/read/162614/5525371
a c392d01.a
-- C392D01.A
--
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025,
www.eeworm.com/read/162614/5529161
c inline-11.c
/* Test misuses of inline. */
/* Origin: Joseph Myers */
/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */
/* These should perhaps be hard errors, but are pedwarns at
www.eeworm.com/read/162614/5529931
c pr18596-3.c
/* { dg-do compile } */
/* { dg-options "" } */
int foo ()
{
static g () = 0; /* { dg-error "invalid storage class" } */
static int f () = 1; /* { dg-error "invalid storage class" } */
auto int
www.eeworm.com/read/162614/5530679
c inline-12.c
/* Test misuses of inline. -pedantic-errors test. */
/* Origin: Joseph Myers */
/* { dg-do compile } */
/* { dg-options "-std=gnu99 -pedantic-errors" } */
/* These should per
www.eeworm.com/read/162614/5531224
c declspec-10.c
/* Test declaration specifiers. Test various checks on storage class
and function specifiers that depend on information about the
declaration, not just the specifiers. Test with -pedantic. */
www.eeworm.com/read/158865/5593644
h xm-svr4.h
/* Configuration for GNU C-compiler for hosts running System V Release 4
Copyright (C) 1988, 1997 Free Software Foundation, Inc.
This file is part of GNU CC.
GNU CC is free software; you can redi
www.eeworm.com/read/471682/6888012
c program8_01.c
/* Program 8.1 A microscopic program about scope */
#include
int main(void)
{
int count1 = 1; /* Declared in outer block */
do
{
int count2 =
www.eeworm.com/read/369368/9653525
err strata32.err
"strata32.c", line 305: Warning: C2870W: variable 'interrupt_reservoir' declared but not used
"strata32.c", line 386: Warning: C2870W: variable 'interrupt_reservoir' declared but not used
"strata32.
www.eeworm.com/read/369368/9653567
err nand.err
"nand.c", line 187: Warning: C2870W: variable 'ch' declared but not used
"nand.c", line 392: Warning: C2870W: variable 'status' declared but not used
"nand.c", line 552: Warning: C2870W: variable 'E