代码搜索:Nested
找到约 7,462 项符合「Nested」的源代码
代码结果 7,462
www.eeworm.com/read/240162/4583042
c nested4.c
// { dg-do assemble }
// From: quipu@ulrik.uio.no
// Subject: extern "C" nested class
// Date: Fri, 13 Aug 1993 15:33:53 +0200
extern "C" {
struct A {
struct B { int j; } *x;
};
}
void
foo
www.eeworm.com/read/240162/4583091
c nested1.c
// { dg-do assemble }
// Bug: g++ can't deal with function-local classes that talk about themselves.
void foo() {
class Wrapper {
public:
void F (void * Wrapperptr)
{
Wrapper * wra
www.eeworm.com/read/240162/4583207
c nested6.c
// { dg-do assemble }
union A {
struct B { };
A::B b; // { dg-bogus "" }
};
www.eeworm.com/read/240162/4583210
c nested5.c
// { dg-do assemble }
struct A {
struct B { };
};
struct C : public A {
struct D
: public B // { dg-bogus "" } can't find B
{ };
};
www.eeworm.com/read/240162/4583251
c nested2.c
// { dg-do assemble }
// PRMS Id: 3764 (c/h)
// Bug: g++ gets into an infinite loop trying to find the top-level context
class Menu;
class MenuItem;
class MenuAction {
public:
virtual void execut
www.eeworm.com/read/240162/4585224
m nested-1.m
/* Contributed by Nicola Pero Wed Feb 21 12:08:16 GMT 2001 */
int main (void)
{
void nested (void)
{
return;
}
return 0;
}
www.eeworm.com/read/240162/4585243
m nested-2.m
/* Contributed by Nicola Pero Mon Mar 5 19:57:11 CET 2001 */
int main (void)
{
inline int nested (void)
{
return 1;
}
if (nested () != 1)
{
exit (1);
}
return 0;
www.eeworm.com/read/240162/4585308
m nested-3.m
/* Contributed by Nicola Pero - Fri Mar 9 19:39:15 CET 2001 */
#include
/* Test defining a nested function inside a method */
@interface Test
{
Class isa;
}
+ (int) test;
@end
@imp