代码搜索:empty
找到约 10,000 项符合「empty」的源代码
代码结果 10,000
www.eeworm.com/read/340665/3273147
c empty8.c
// { dg-do run }
// { dg-options "-fabi-version=0" }
struct E1 {};
struct E2 : public E1 {};
struct S1 { int i; };
struct S2 : public S1, E2 {};
S2 s2;
int main () {
if ((char *)(E2*) &s2 != (cha
www.eeworm.com/read/340665/3273160
c empty4.c
// { dg-do run }
// Copyright (C) 2001 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 31 Jul 2001
// Bug 3820. We were bit copying empty bases including th
www.eeworm.com/read/340665/3273164
c empty9.c
// { dg-do run { target i?86-*-* } }
// { dg-options "-w -fabi-version=0" }
struct E1 {};
struct E2 : public E1 {
virtual void f ();
};
struct E3 : virtual public E1 {
};
struct S : public E2, virt
www.eeworm.com/read/340665/3273180
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/340665/3273575
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/340665/3273588
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/340665/3273881
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/340665/3273940
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/340665/3280461
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/338072/3321366
empty_msg2
INVITE sip:5105@192.168.36.180:5060;user=phone SIP/2.0