代码搜索:empty
找到约 10,000 项符合「empty」的源代码
代码结果 10,000
www.eeworm.com/read/470720/1444751
c empty11.c
// { dg-do run }
// { dg-options "-w -fabi-version=0" }
struct E {};
struct E2 : public E {};
struct E3 : public E, public E2 {};
struct E4 : public E, public E2, public E3 { };
struct E5 : public E,
www.eeworm.com/read/470720/1445128
c empty3.c
// Build don't link:
// Copyright (C) 2001 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 12 Apr 2001
// Check we deal with aligning virtual bases after a
www.eeworm.com/read/470720/1445141
c empty2.c
// Build don't link:
// Copyright (C) 2001 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 12 Apr 2001
// Check we deal with trailing empty base classes pro
www.eeworm.com/read/470720/1445434
c empty1.c
// Origin: Mark Mitchell
// This test case checks that the return value optimization works for
// empty classes.
// PR c++/5995
extern "C" void abort();
extern "C" int printf
www.eeworm.com/read/470720/1445493
c empty2.c
// Build don't link:
// Origin: Mark Mitchell
struct E {};
void f () {
E e1, e2;
e1 = e2; // We should not warn about this statement, even though no
// code is
www.eeworm.com/read/470720/1451990
c empty1.c
/* { dg-do run } */
/* { dg-options "" } */
struct S { int : 0; };
union U { int : 0; };
int main () {
if (__alignof__ (struct S) != __alignof__ (union U))
return 1;
return 0;
}
www.eeworm.com/read/470693/1456483
h empty6.h
struct A {};
struct B {
A a;
virtual void f () {}
int i;
};
www.eeworm.com/read/470693/1456553
c empty1.c
// { dg-do run }
// Copyright (C) 2001 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 3 Sept 2001
// Bug 4203. We were bit copying empty bases including th
www.eeworm.com/read/470693/1456651
c empty7.c
// { dg-do run { target i?86-*-* } }
// { dg-options "-fabi-version=0" }
struct S1 {};
struct S2 { virtual void f () {} S1 s1[4]; };
struct S3 : virtual public S2 {};
struct S4 : virtual public S2 {
www.eeworm.com/read/470693/1456652
c empty6.c
// { dg-options "-Wabi" }
struct A {};
struct B {
A a; // { dg-warning "empty" }
virtual void f () {}
};