/* { dg-do compile { target i?86-*-* sparc*-*-* x86_64-*-* } } */ /* { dg-options "-O2" } */ extern void abort (void); extern void exit (int); typedef enum { false, true } __attribute__ ((packed)) b
http://www.codebf.com/read/162614/5517096
/* PR middle-end/14203 */ /* { dg-do compile } */ /* { dg-options "-Wall" } */ void foo() { if (false) if (int i=0) // { dg-warning "unused" "" } int j=0; // { dg-warning "unused" ""
http://www.codebf.com/read/162614/5517267
// PR libstdc++/10606 // { dg-do run } #include #include struct Check { int obj1, obj2; bool state; }; static Check const data[] = { { 0, 0, false }, // construct [0]
http://www.codebf.com/read/162614/5517336
void f () { switch (0) { case (3, 0): // { dg-error "" } break; } } int g (); struct S { int i : (false ? g () : 1); // { dg-error "" } };
http://www.codebf.com/read/162614/5517769
extern "C" void abort (void); extern "C" void exit (int); #include "ctor1.h" bool was_f_in_Bar_destroyed=false; void ctor1_x () { try { Bar f; } catch(int i) { if(was_f
http://www.codebf.com/read/162614/5518034
/* { dg-options "-O3" } */ /* { dg-do compile } */ void foo(); struct A { ~A(){ foo(); } }; struct B { A a; }; void bar() { A a; bool b = false; int i, j; for (j=0; j
http://www.codebf.com/read/162614/5518379
struct Term { }; struct Boolean : Term { explicit Boolean(bool); }; struct IsZero : Term { Term *eval(); }; Term* IsZero::eval() { return true ? new Boolean(false) : this; // { dg-error "" } }
http://www.codebf.com/read/162614/5518503
// PR c++/14763 struct A { int get() const {} static A *foo(); }; template struct S { S(unsigned int = A::foo()->get()) ; }; void foo() throw() { S f; }
http://www.codebf.com/read/162614/5519134
#define TRUE 1 #define FALSE 0 #define SIZE 8190 char flags[SIZE+1]; main() { register int i, prime, k, count, iter; for (iter=1;iter
http://www.codebf.com/read/162614/5519451
template struct A { static const bool b = false; }; template const bool A::b; void f ();
http://www.codebf.com/read/162614/5519703
虫虫下载站 半导体技术网 电子研发网 源码地带 电源技术网 单片机技术网 医疗电子技术 嵌入式系统与单片机