代码搜索:Nested
找到约 7,462 项符合「Nested」的源代码
代码结果 7,462
www.eeworm.com/read/240162/4580453
c access8.c
// { dg-do assemble }
// Copyright (C) 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 10 Feb 2000
// Test that access to static members from a nested class of
www.eeworm.com/read/240162/4582072
c nest10.c
// { dg-do assemble }
// GROUPS passed nested-classes
class A
{
public:
class B
{
public:
int f ();
void g (int);
private:
int b;
};
};
int A::B::f ()
{
int val=b;
re
www.eeworm.com/read/240162/4587934
c anon-1.c
/* Copyright (C) 2001 Free Software Foundation, Inc. */
/* Source: Neil Booth, 4 Nov 2001, derived from PR 2820 - field lookup in
nested anonymous entities was broken. */
struct
{
int x;
st
www.eeworm.com/read/240162/4589458
c 20011023-1.c
/* Test whether tree inlining works with prototyped nested functions. */
extern void foo (char *x);
void bar (void);
void bar (void)
{
auto void baz (void);
void baz (void)
{
char tmp[
www.eeworm.com/read/233448/4671132
c using6.c
// { dg-do compile }
// Origin: Wolfgang Bangerth
// PR c++/9022, nested namespace in using declaration
namespace gnu {
namespace gcc {
}
}
using gnu::gcc; // { dg-
www.eeworm.com/read/233448/4672397
c dr161.c
// { dg-do compile }
// Origin: Giovanni Bajo
// DR161: Access to protected nested type
namespace N1 {
struct A
{
protected:
typedef int type;
};
www.eeworm.com/read/233448/4672764
c type1.c
// Test for helpful error messages on invalid nested-name-specifiers.
struct A {
template struct B { static int c; };
};
int A::B::c; // { dg-error "parameters" }
int A::C::d; // { d
www.eeworm.com/read/233448/4673270
c access8.c
// { dg-do assemble }
// Copyright (C) 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 10 Feb 2000
// Test that access to static members from a nested class of
www.eeworm.com/read/233448/4674888
c nest10.c
// { dg-do assemble }
// GROUPS passed nested-classes
class A
{
public:
class B
{
public:
int f ();
void g (int);
private:
int b;
};
};
int A::B::f ()
{
int val=b;
re
www.eeworm.com/read/233448/4681767
c anon-1.c
/* Copyright (C) 2001 Free Software Foundation, Inc. */
/* Source: Neil Booth, 4 Nov 2001, derived from PR 2820 - field lookup in
nested anonymous entities was broken. */
struct
{
int x;
st