plateform
stringclasses
1 value
repo_name
stringclasses
2 values
name
stringlengths
1
78
ext
stringclasses
2 values
path
stringlengths
15
1.11k
size
int64
1
8.55M
source_encoding
stringclasses
11 values
md5
stringlengths
32
32
text
stringlengths
0
8.49M
google
chromium
pr37421
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr37421.C
490
utf_8
b9e867af0146342c37d2ac67626d327e
/* { dg-do compile } */ #include <stdio.h> #include <string.h> inline int bci (const float &source) { int dest; memcpy (&dest, &source, sizeof (dest)); return dest; } inline float bcf (const int &source) { float dest; memcpy (&dest, &source, sizeof (dest)); return dest; } float Foo () { const int foo = bci (...
google
chromium
pr42871
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr42871.C
502
utf_8
257b8de487b284f4945c33c7fad65d8f
struct C { ~C (); int c3; }; C *b2; static void b1 (const C &x, unsigned b3, unsigned b4) { unsigned i = 0; for (; i < b3; i++) if (i < b4) { b2[0].c3 = x.c3; return; } } int a (); void bar (unsigned b3, unsigned b4) { C c[100]; for (int i = 0; i < 100; i++) { c...
google
chromium
pr36444
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr36444.C
526
utf_8
f508d53acbdd768a7f71915a40a5c3e9
/* { dg-do compile } */ /* { dg-options "-msse" { target { i?86-*-* x86_64-*-* } } } */ #define vector __attribute__((vector_size(16) )) struct struct1 { union {} vmx; struct struct2 { struct2(const struct2& r) {} } w; } __attribute__((aligned(16))); struct struct3 { vector float vmx; operator cons...
google
chromium
pr44826
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr44826.C
1,360
utf_8
e5466946d96ec5f4b66f422d588cbd27
typedef unsigned short PRUint16; typedef PRUint16 PRUnichar; template <class CharT> struct nsCharTraits { }; class nsAString_internal { public: typedef PRUnichar char_type; }; class nsString : public nsAString_internal { public: typedef nsString self_type; nsString( const self_type& str ); }; class nsDe...
google
chromium
pr49309
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr49309.C
204
utf_8
eb70376912e1d0c5b508553df645f62b
// PR tree-optimization/49309 // { dg-do compile } // { dg-options "-fpreprocessed -fmudflap" } struct A { int i; A(); A(const A&); }; inline void foo(A a) { a = A(); } void bar() { foo(A()); }
google
chromium
pr33134
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr33134.C
410
utf_8
a290e0d99d5d90235194f3576ea12cbe
/* { dg-do compile } */ /* { dg-options "-O2" } */ class FXObject; class FXStream { public:FXStream (const FXObject *cont = __null); FXStream & operator<< (const unsigned char &v); }; bool fxsaveGIF (FXStream &store) { int bitsperpixel; unsigned char c1; c1 = 0x80; c1 |= (bitsperpixel - 1) << 4; store << ...
google
chromium
pr32563
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr32563.C
107
utf_8
e9780c172c681062c7a2b35fc6317156
/* { dg-do compile } */ struct A { char c[1]; } a; const __SIZE_TYPE__ i = (__SIZE_TYPE__)&a.c[0] - 1;
google
chromium
pr34641
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr34641.C
4,162
utf_8
aca35bc17de99bf227d0bc470b3dfff6
// { dg-do compile } // { dg-require-effective-target fpic } // { dg-require-visibility "" } // { dg-options "-fPIC" } typedef __SIZE_TYPE__ size_t; extern "C" void * malloc (size_t __size) throw () __attribute__ ((__malloc__)); namespace std __attribute__ ((__visibility__ ("default"))) { using::size_t; } inli...
google
chromium
pr40102
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr40102.C
442
utf_8
a55ede92712e943c1fcea56c7943cd1d
/* { dg-do compile } */ bool foo0(int) { return true; } bool foo1(); struct A { A(); ~A(); template<typename T> void bar1(T f) { if (f(0)) foo1(); } template<typename T> void bar2(T); }; template<typename T> void A::bar2(T f) { A a, b[1], *p; while (foo1()) { if (p) ++p; ...
google
chromium
pr49615
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr49615.C
372
utf_8
6aad70b4e5ba908ab559e27d7d2bbb1d
/* { dg-do compile } */ /* { dg-options "-g" } */ template <class T> static inline bool Dispatch (T* obj, void (T::*func) ()) { (obj->*func) (); } class C { bool f (int); void g (); }; bool C::f (int n) { bool b; switch (n) { case 0: b = Dispatch (this, &C::g); case 1: b = Dispatch (thi...
google
chromium
pr40924
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr40924.C
2,319
utf_8
fa014de9d87f4833c5c4020ce1b29d2f
// PR rtl-optimization/40924 // { dg-do run } extern "C" void abort (void); #define MAY_ALIAS __attribute__((__may_alias__)) typedef struct { float v[2]; } floata; typedef struct { int v[2]; } inta; typedef unsigned int uint MAY_ALIAS; typedef signed int sint MAY_ALIAS; typedef float flt MAY_ALIAS; static inline u...
google
chromium
pr49519
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr49519.C
2,358
utf_8
cffdc9798a9b714a7acb5448aee49c12
/* { dg-do run } */ #include <stdlib.h> struct null_type {}; inline const null_type cnull() { return null_type(); } template <class TT> struct cons; class tuple; template< int N > struct get_class { template<class TT > inline static int& get(cons<TT>& t) { return get_class<N-1>::template get(t.tail); } }; t...
google
chromium
pr40388
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr40388.C
144
utf_8
b6de7aac61c5d7ce80cf371bebc02c8a
void foo(); struct A { ~A() { try { foo(); foo(); } catch (...) { } } }; void bar() { A a1, a2; }
google
chromium
pr46383
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr46383.C
10,765
utf_8
e8f612095afadb3172d490e099288d27
// { dg-do compile } namespace std { template<class,class>struct pair{}; template<typename _Tp> struct _Vector_base { struct _Vector_impl { _Tp* _M_start; _Tp* _M_finish; _Tp* _M_end_of_storage; }; _Vector_impl _M_impl; }; template<typename _Tp > struct vector : _Vector_base<_Tp> ...
google
chromium
pr40321
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr40321.C
617
utf_8
3085fa5de27d22da7db3c4cf8f7abfab
/* { dg-do compile } */ struct VectorD2 { VectorD2() : x(0), y(0) { } VectorD2(int _x, int _y) : x(_x), y(_y) { } int x, y; int GetLength2() const { return x*x + y*y; }; VectorD2 operator+(const VectorD2 vec) const { return VectorD2(x+vec.x,y+vec.y); } }; struct Shape { enum Type { ST_RECT, ST_CIRC...
google
chromium
ipa-cp-1
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/ipa-cp-1.C
451
utf_8
4054dd6c177ca7971902e3ac60e34695
/* { dg-do compile } */ // With IPA-CP, this caused a problem on darwin, where // _M_reset is being cloned, it was still being marked // as weak and then we had to change the calls to the // newly marked function for the non throwing behavior. int& f(int&); inline void _M_reset(int &_M_vbp) throw() { f(_M_vbp); } ...
google
chromium
pr44295
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr44295.C
7,766
utf_8
61a1cfe01bbf4dc4b73d344cd112a208
/* { dg-do compile } */ extern "C" { typedef __SIZE_TYPE__ size_t; typedef struct { } __sigset_t; typedef union { } pthread_barrierattr_t; } typedef unsigned short XMLCh; typedef unsigned long XMLSize_t; namespace xercesc_2_5 { class DOMNodeList; class DOMNode { }; class DOMDocumentRan...
google
chromium
pr43905
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr43905.C
243
utf_8
2eec4865fde837c6c43e5ba276e57cb6
extern void sf ( __const char *); struct Matrix{ int operator[](int n){ sf ( __PRETTY_FUNCTION__); } int operator[](int n)const{ sf ( __PRETTY_FUNCTION__); } }; void calcmy(Matrix const &b, Matrix &c, int k){ b[k]; c[k]; }
google
chromium
pr46149
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr46149.C
571
utf_8
02d684eb83ab100608e69960f657a0e0
// { dg-do run } // { dg-options "-fno-tree-sra" } struct S { S ():p ((char *) __builtin_calloc (1, 1)) { } char *p; }; template < class T > struct A { A (const S & __m1, const T & __m2):m1 (__m1), m2 (__m2) { } const S & m1; const T & m2; }; struct B:A < S > { B (const S & __v):A < S > (__v, __v) ...
google
chromium
pr39764
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr39764.C
233
utf_8
eaa64cc3e3ed3a9b485164b7d1cd003d
/* { dg-do compile } */ class A; class B { }; extern const double NaN; B foo(A* exec, double d); inline B baz(A* a) { return foo(a, NaN); } B bar(A* a) { return baz(a); } extern const double NaN = (__builtin_nanf(""));
google
chromium
pr36445
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr36445.C
669
utf_8
f117dae760330db0d2bea5b44a033809
/* { dg-do compile } */ /* { dg-options "-msse" { target { i?86-*-* x86_64-*-* } } } */ // This used to fail as we would try to expand a VCE where one side had // a mode of BLKmode and the other side was a vector mode. #define vector __attribute__((vector_size(16) )) struct struct1 { union { float a[3]; } vmx; ...
google
chromium
pr35164-2
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr35164-2.C
605
utf_8
d189c1337cd585db66672b0b6d7b9ff3
struct __shared_count { __shared_count() { _M_pi = new int; } int * _M_pi; }; template<typename _Tp> class __shared_ptr { public: __shared_ptr(_Tp* __p); void reset(int * __p) { __shared_ptr(__p).swap(*this); } void swap(__shared_ptr<_Tp>& __other) { __other._M_refcount._M_pi = _...
google
chromium
pr43880
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr43880.C
165
utf_8
0650ab33848f1eeedb9db8979d4c0b54
// { dg-do compile } extern void xread(void *); class test { public: test(void); }; test::test(void) { union { char pngpal[1]; }; xread(pngpal); }
google
chromium
pr49394
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr49394.C
528
utf_8
8960caa3c7183b6775e5e78b38be23f3
// { dg-do run } // { dg-options "-fipa-pta -fnon-call-exceptions" } struct Mutex { bool locked; ~Mutex () { if (locked) throw 0; } void lock () { locked = true; } void unlock () { if (!locked) throw 0; locked = false; } }; struct lock_guard { Mutex *m; lock_guard (...
google
chromium
20080625-1
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/20080625-1.C
572
utf_8
cba46ba0e799162dc4863891ff25ded3
extern "C" { typedef unsigned char sal_Bool; typedef struct _rtl_uString { } rtl_uString; void rtl_uString_release( rtl_uString * str ) throw (); } class OUString { rtl_uString * pData; public: OUString() {} ~OUString() { rtl_uString_release( pData ); } sal_Bool equalsIgnoreAsciiCas...
google
chromium
pr37343
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr37343.C
485
utf_8
a77a01236fb32add6af8d40930f948c0
/* { dg-do compile } */ typedef enum RW { rwBitmapGrey, rwBitmapGrey16 } RW; void FindDepth(RW); void ParseDumpBitmap(RW kind, int maxfiles) { static const RW normalTypes[] = { }; const RW *bitmapTypes; int i; switch (kind) { case rwBitmapGrey: case rwBitmapGrey16: bitmapTyp...
google
chromium
pr39678
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr39678.C
438
utf_8
505f48097bb932b0861f32000e2c985b
/* PR target/39678 */ /* { dg-do run } */ /* { dg-options "-Wno-psabi" } */ struct Y {}; struct X { struct Y y; __complex__ float val; }; struct X __attribute__((noinline)) foo (float *p) { struct X x; __real x.val = p[0]; __imag x.val = p[1]; return x; } extern "C" void abort (void); float a[2] = { 3., -2...
google
chromium
pr45709
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr45709.C
302
utf_8
3602e5f346573cec2da3e7ddcadb3fb7
// { dg-do compile } struct Region { int storage[4]; int count; }; static inline Region subtract(int lhs) { Region reg; int* storage = reg.storage; if (lhs > 0) storage++; reg.count = storage - reg.storage; return reg; } void bar(int a) { const Region copyBack(subtract(a)); }
google
chromium
pr35164-1
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr35164-1.C
1,909
utf_8
6e26e84f00c6983f8cd03d80694067c3
typedef __SIZE_TYPE__ size_t; template<typename _Iterator, typename _Container> class __normal_iterator { public: const _Iterator& base() const; }; template<typename _BI1, typename _BI2> inline void copy_backward(_BI1 __first, _BI1 __last, _BI2 __result) { while (__first != __last) *--__result = *--__last; } templa...
google
chromium
pr39259
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr39259.C
576
utf_8
f9460d2eec98500885b88a6a391adc63
// PR tree-optimization/39259 // { dg-do compile } // { dg-options "-O2" } extern "C" int __mysetjmp () __attribute__ ((__returns_twice__)); class TContStatus {}; class TContEvent { public: inline void Execute () throw(); }; class TCont { public: TContStatus ReadD (void* buf, int deadline) { TContEvent e...
google
chromium
pr34651
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr34651.C
599
utf_8
b4f36f5dd9e57a473980dae121c14b78
/* { dg-do compile } */ typedef bool Bool; struct CString { CString (const char * =__null); CString & operator += (const CString &); }; struct THotKey { short Key; Bool Control; Bool Shift; Bool Alt; }; THotKey m_HotKey; THotKey GetHotKey () { return m_HotKey; } void Serialize () { THotKey inHot...
google
chromium
pr39732
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr39732.C
905
utf_8
be38f9eee831a8d644cd0b321502fe13
/* { dg-do compile } */ /* { dg-options "-fprofile-generate" } */ template<class _CharT> struct char_traits; template<typename _OI> _OI __copy_move_a2(_OI __result); template<typename _OI> inline _OI copy(_OI __result) { return __copy_move_a2 (__result); } template<typename _CharT, typename _Traits> class ba...
google
chromium
20070621-1
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/20070621-1.C
5,966
utf_8
e8a225540788d75a19a3cdf32929234b
/* Reduced from libstdc++-v3/testsuite/25_algorithms/equal/1.cc 1.2.ii: In function 'void test1()': 1.2.ii:104: error: true/false edge after a non-COND_EXPR in bb 15 1.2.ii:104: internal compiler error: verify_flow_info failed */ __extension__ typedef __PTRDIFF_TYPE__ ptrdiff_t; namespace std __attribute__ ((__visib...
google
chromium
pr46367
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr46367.C
76
utf_8
e798c66b9b0abf667d1ffe31c31394e5
#pragma interface struct S { S *s; ~S () { delete s; } }; S s;
google
chromium
pr40642
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr40642.C
474
utf_8
cc64abdcaba4ecac02a922ed5702c2e2
// { dg-do compile } // { dg-options "-fprofile-generate" } // GCC used to ICE with some EH edge missing. inline void* operator new(__SIZE_TYPE__, void* p) throw() { return p; } inline void operator delete (void*, void*) throw() { } template<typename T> void foo(void* p, T t) { new(p) T(t); } void bar(); templat...
google
chromium
pushpop_macro
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pushpop_macro.C
241
utf_8
d28910105d9c9253d94d70eacd5e19d4
/* Do the preprocessor push_macro/pop_macro test. */ /* { dg-do run } */ extern "C" void abort (); #define _ 2 #pragma push_macro("_") #undef _ #define _ 1 #pragma pop_macro("_") int main () { if (_ != 2) abort (); return 0; }
google
chromium
pr40834
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr40834.C
807
utf_8
91e7beb2ed0c5925d2d5b5b4bf37f40f
/* { dg-do run } */ extern "C" void abort (void); class XalanDOMString { public: int y; }; class XObject { public: const XalanDOMString& str() const { return x; } XalanDOMString x; }; class XObjectPtr { public: XObjectPtr(const XObjectPtr& theSource) { m_xobjectPtr = theSource.m_xobjectPtr; } ...
google
chromium
pr41775
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr41775.C
6,921
utf_8
b2d53f4aa50404a2e6c3d51d0a0213f1
/* { dg-do compile } */ /* { dg-require-visibility "" } */ typedef unsigned int size_t; namespace std __attribute__ ((__visibility__ ("default"))) { template < typename _Iterator > struct iterator_traits { }; template < typename _Tp > struct iterator_traits <_Tp * > { typedef _Tp & reference; }; } nam...
google
chromium
pr45709-2
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr45709-2.C
370
utf_8
172ba6975c5550b7f36f1bb6ee577c98
// { dg-do compile } struct Region { int storage[4]; int count; }; static inline Region subtract(int lhs) { Region reg; int* storage = reg.storage; int* storage2 = reg.storage; if (lhs > 0) storage++, storage2--; reg.count = storage - reg.storage + storage2 - reg.storage; return reg; } void bar...
google
chromium
pr43257
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr43257.C
336
utf_8
3109f22b098cf163176faafc44391d82
/* { dg-do assemble } */ class A {}; class B {}; static void *func (int n) { void *p; if (p == 0) throw ::A (); } static void *func (int n, B const &) { try { return func (n); } catch (::A const &) { } return func (n); } void *f1 (int n) { return func (n, B()); } void *f2 (int n) { return f...
google
chromium
pr44492
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr44492.C
506
utf_8
1be5987e0648f5a325798384c799425c
// PR middle-end/44492 // { dg-do run } struct T { unsigned long p; }; struct S { T a, b, c; unsigned d; }; __attribute__((noinline)) void bar (const T &x, const T &y) { if (x.p != 0x2348 || y.p != 0x2346) __builtin_abort (); } __attribute__((noinline)) void foo (S &s, T e) { unsigned long a = e.p; unsigne...
google
chromium
pr37146-2
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr37146-2.C
763
utf_8
87fa4b505d0fbf900af0c6864b9dd8eb
// PR c++/37146 // { dg-do run } extern "C" void abort (); int a, b; struct A { int i:8; int j:8; int k:16; int l:32; } c; int f1 (int x) { return x ? a : b; } int f2 (int x) { return x ? c.i : c.j; } int f3 (int x) { return x ? c.i : a; } int f4 (int x) { return x ? c.i : c.k; } int f5 (int x) { return...
google
chromium
pr31579
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr31579.C
294
utf_8
488a053995c3999b7064677484855aad
/* { dg-do compile } */ // middle-end/31579 // Expand was crashing while expanding the tree for the initializer struct Industry { unsigned char produced_cargo[2]; }; unsigned int a = (((__SIZE_TYPE__)&reinterpret_cast<const volatile char&>((((Industry*)(char*)8)->produced_cargo[0]))) - 8);
google
chromium
pr40081
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr40081.C
340
utf_8
9265a4787d0dba10e523b64f6fd63bb2
struct Atomic_t { Atomic_t(int i) : val(i) { } volatile int val; }; class RefCount { public: Atomic_t m_count; }; class IntrusiveCountableBase { RefCount m_useCount; protected: IntrusiveCountableBase(); }; IntrusiveCountableBase::IntrusiveCountableBase() : m_useCount(0) { }
google
chromium
pr32304
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr32304.C
99
utf_8
2b9b21a174d22a50425b2e0f0538d74f
// { dg-do compile } struct S { S() {} }; S f() { static S s; return s; }
google
chromium
pr41257
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr41257.C
182
utf_8
b2bf0f9adca2bf600320f6fbc03908cd
/* { dg-do compile } */ struct A { virtual void foo(); virtual ~A(); int i; }; struct B : virtual A {}; struct C : B { virtual void foo(); }; void bar() { C().foo(); }
google
chromium
pr33627
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr33627.C
1,799
utf_8
d031e736766609d70f05c6a22b19ee44
/* { dg-do compile } */ typedef unsigned int UT_uint32; typedef UT_uint32 PT_DocPosition; typedef UT_uint32 PT_BlockOffset; typedef enum _PTStruxType { PTX_Block } PTStruxType; typedef UT_uint32 PL_ListenerId; typedef const void * PL_StruxFmtHandle; class PX_ChangeRecord; class pf_Frag { public: typedef enum _PFT...
google
chromium
pr34099
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr34099.C
386
utf_8
746d247dbba7ad5322d6f842b465f70e
/* { dg-do run } */ #include <complex> typedef std::complex<double> NumType; void multiply(NumType a, NumType b, unsigned ac, NumType &ab) { NumType s; for (unsigned j=0; j<ac; j++) s = a * b; ab = s; } extern "C" void abort (void); int main() { NumType a(1,2), b(3,-2), c; multiply(a, b, 1, c); if (c...
google
chromium
pr48271
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr48271.C
1,594
utf_8
2acf161e9b04da4e5f78391fffbd6c85
// { dg-do compile } // { dg-options "-ftree-vrp -fno-guess-branch-probability -fnon-call-exceptions" } void *xalloc (); void xfree (void *); void error (); static inline void * MallocT () { void *p = xalloc (); if (!p) error (); return p; } struct ByteBlob { int *header; ByteBlob(); ~ByteBlob () ...
google
chromium
pr44900
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr44900.C
1,776
utf_8
80fcfe9886663365f369187444388b20
/* { dg-do run { target i?86-*-* x86_64-*-* } } */ /* { dg-options "-msse" } */ /* { dg-require-effective-target sse_runtime } */ typedef float __m128 __attribute__ ((__vector_size__ (16), __may_alias__)); typedef float __v4sf __attribute__ ((__vector_size__ (16))); extern __inline __m128 __attribute__((__gnu_inline_...
google
chromium
pr49770
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr49770.C
1,456
utf_8
374781f86513ddd0daa15d78044d857a
/* { dg-do run } */ /* { dg-options "-std=c++0x -fno-tree-forwprop" } */ typedef __SIZE_TYPE__ size_t; template < typename > struct remove_reference; template < typename _Tp > struct remove_reference <_Tp & > { typedef _Tp type; }; template < typename _Tp > typename remove_reference < _Tp >::type && move (_Tp && __...
google
chromium
pr30252
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr30252.C
6,369
utf_8
a84e9fff95df4801f8e582fbc33303b8
/* { dg-do run } */ /* { dg-options "-fstrict-aliasing" } */ extern "C" void abort (void); namespace sigc { template <class T_type> struct type_trait { typedef T_type& pass; typedef const T_type& take; typedef T_type* pointer; }; template <class T_base, class T_derived> struct is_base_and_deriv...
google
chromium
pr45854
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr45854.C
291
utf_8
68f9b4757da40ed02486f2296a081c7d
// { dg-do compile } template < typename = void > struct X { } ; struct Y { Y () ; } ; template < typename = X < > > struct T { void f () { f () ; } } ; struct S { S ( X < > = X < > ()) ; ~S () { T < > () . f () ; } } ; struct Z { S s ; Y y ; } a ;
google
chromium
pr44069
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr44069.C
478
utf_8
2719444d1d7a7d86ae85daae86a66833
/* { dg-do run } */ template <unsigned R, unsigned C> class M { public: M(const int* arr) { for (unsigned long r = 0; r < R; ++r) for (unsigned long c = 0; c < C; ++c) m[r*C+c] = arr[r*C+c]; } int operator()(unsigned r, unsigned c) const { return m[r*C+c]; } private: int m[R*C]; }; exter...
google
chromium
pr38705
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr38705.C
358
utf_8
3b157b9f50453a488b521cd22a937234
// PR c++/38705 // { dg-do compile } typedef int T; typedef __SIZE_TYPE__ size_t; extern "C" void *memcpy (void *, const void *, size_t); void foo (char *p, const int q) { memcpy (p, &q, sizeof (int)); } struct S { T t; int u; int bar () const; template <class T> void foo (const T &x) const {} }; int S::b...
google
chromium
covariant-1
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/covariant-1.C
395
utf_8
12bbc31ebdb5389852fb19dbc0efd9b4
// { dg-do run } extern "C" void abort (); class A { public: virtual A* getThis() { return this; } }; class B { int a; public: virtual B* getThis() { return this; } }; class AB : public A, public B { public: virtual AB* getThis() { return this; } }; int main () { AB ab; A* a = &ab; B* b = &ab; if (...
google
chromium
pr48661
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr48661.C
829
utf_8
db620ec233982ee1836c3317fec0f45d
// PR middle-end/48661 // { dg-do run } extern "C" void abort (); __attribute__((noinline)) double foo (double x, double y) { asm volatile ("" : : : "memory"); return x + y; } __attribute__((noinline, noclone)) void bar (int x) { if (x != 123) abort (); } struct A { double a1, a2; }; struct B { virt...
google
chromium
pr41144
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr41144.C
586
utf_8
8891afbc518a1af478d823bddfecbe7a
/* { dg-do compile } */ struct rgba8; template<class ColorT> class span_gouraud { public: struct coord_type { }; coord_type m_coord[3]; }; template<class ColorT> class span_gouraud_rgba : public span_gouraud<ColorT> { typedef ColorT color_type; typedef span_gouraud<color_type> base_type; typedef t...
google
chromium
pr40460
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr40460.C
165
utf_8
39c666253aab951b3677dc9c7b19514f
/* { dg-do compile } */ void bar(int); void foo(void) { for (int i = 0; i<1; ++i) bar (i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i*i); }
google
chromium
pr39362
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr39362.C
2,479
utf_8
cbf309abd9738a26981f9e5d3fba0554
/* { dg-do compile } */ void *fastMalloc (int n); void fastFree (void *p); template <class T> struct C { void deref () { delete static_cast <T *>(this); } }; template <typename T> struct D { D (T *ptr) : m_ptr (ptr) { } ~D () { if (T * ptr = m_ptr) ptr->deref (); } T *operator-> () const; T *m_ptr; typedef...
google
chromium
pr40389
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr40389.C
1,174
utf_8
4035a1e00eace7a7615f43772cc94b78
/* { dg-do run } */ template <typename V> struct S { V *f, *l; __attribute__ ((noinline)) S (void) { f = 0, l = 0; } void foo (V *x) { if (x->p != 0) x->p->n = x->n; else f = x->n; if (x->n != 0) x->n->p = x->p; else l = x->p; } __attribute__ ((noinline)) void bar (V...
google
chromium
pr39713
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr39713.C
360
utf_8
d85efea6bf5e227cbfe01031a191490d
/* { dg-do compile } */ template <typename To, typename From> static inline To bitwise_cast (From from) { union { From f; To t; } u; u.f = from; return u.t; } extern void foo (unsigned char *); double bar () { unsigned char b[sizeof (unsigned long long)]; foo (b); return bitwise_cast<...
google
chromium
str_empty
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/str_empty.C
268
utf_8
5afe578074ff640a77903318faea8e72
// PR c++/31617 // Segfault in integer_zerop // { dg-do compile } struct polynomial { ~polynomial (); }; void spline_rep1 () { new polynomial[0]; // { dg-bogus "allocating zero-element array" } }
google
chromium
pr42357
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr42357.C
639
utf_8
b10e8543fb804e02bf658bba9b63a306
// { dg-do compile } typedef unsigned char uint8; typedef unsigned int uint32; class PixelARGB { public: ~PixelARGB() throw() { } PixelARGB (const uint32 argb_) throw() : argb (argb_) { } inline __attribute__((always_inline)) uint8 getRed() const throw() { return components.r; } union { ui...
google
chromium
pr49039
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr49039.C
1,721
utf_8
66f4e88fb15a5c2f5a4fc2d591edff41
// PR tree-optimization/49039 // { dg-do run } template <class T1, class T2> struct pair { T1 first; T2 second; pair (const T1 & a, const T2 & b):first (a), second (b) {} }; template <class T1, class T2> inline pair <T1, T2> make_pair (T1 x, T2 y) { return pair <T1, T2> (x, y); } typedef __SIZE_TYPE__ size_t...
google
chromium
pr49628
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr49628.C
1,028
utf_8
0a508430aa4eff5b532a237388ea0851
/* { dg-do compile } */ #include <vector> template <int rank, int dim> class Tensor; template <int dim> class Tensor<1,dim> { public: explicit Tensor (const bool initialize = true); Tensor (const Tensor<1,dim> &); Tensor<1,dim> & operator = (const Tensor<1,dim> &); double values[(dim!=0) ? (dim) : 1];...
google
chromium
pr38565
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr38565.C
360
utf_8
f532ea52badae9bec7e18063e926083e
// { dg-do compile } // Ignore warning on some powerpc-linux configurations. // { dg-prune-output "non-standard ABI extension" } #define vector __attribute__((vector_size(16) )) vector unsigned int f(int a) { vector unsigned int mask = a ? (vector unsigned int){ 0x80000000, 0x80000000, 0x80000000, 0x80000000 } : (vec...
google
chromium
pr47382
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr47382.C
287
utf_8
c2620174c12bbff392c51fb1170c0929
// { dg-do run } extern "C" void abort (); struct A { inline ~A (); virtual void foo () {} }; struct B : A { virtual void foo () { abort(); } }; static inline void middleman (A *a) { a->foo (); } inline A::~A () { middleman (this); } int main () { B b; return 0; }
google
chromium
pr33819
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr33819.C
352
utf_8
efb566f0ac18dfe0860d475880f8bae3
/* { dg-do run } */ class s { public: s(long long aa) : a(aa), i1(0) { } long long id() const { return (this->a << 16) >> 16; } bool operator< (s sv) { return this->a < sv.id(); } private: long long a : 48; int i1 : 16; }; s g(1); extern "C" void abort (void); int main(int, char**) { if (g < (1LL << 38) - ...
google
chromium
pr45877
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr45877.C
4,418
utf_8
ac70bfaeac2de9969633388552b48e28
// { dg-do compile } namespace std __attribute__ ((__visibility__ ("default"))) { typedef __SIZE_TYPE__ size_t; template<typename _Alloc> class allocator; template<class _CharT> struct char_traits; template<typename _CharT, typename _Traits = char_traits<_CharT>, typename _Alloc = allocator<_Char...
google
chromium
pr47541
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr47541.C
454
utf_8
2875f29910a1c9fceb2c3abacae94988
/* { dg-do run } */ struct Dummy {}; struct RefCount : public Dummy { ~RefCount(); /* Has to be non-pod. */ int *a; int *b; }; RefCount::~RefCount(){} struct Wrapper : public Dummy { RefCount ref; }; void __attribute__((noinline,noclone)) Push(Wrapper ptr) { *ptr.ref.b = 0; } extern "C" void abort (void...
google
chromium
pr39417
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr39417.C
761
utf_8
232e15df51e39649346853a5c935ff90
// { dg-do run } #include <vector> std::vector <int> sequence(int l, int n) { std::vector <int> ret; for(int i=n;i<=100;i++) { if(i%2==0) { if(l%i==i/2) { int init =l/i-i/2+1; if(init>=0) { for(int j=0;j<i;j++) { ret.push_back(init); init ++; } ...
google
chromium
type-generic-1
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/type-generic-1.C
286
utf_8
b38327bc402bd0a9700062fd709f9d5a
/* Do the type-generic tests. Unlike pr28796-2.c, we test these without any fast-math flags. */ /* { dg-do run } */ /* { dg-add-options ieee } */ /* { dg-skip-if "No Inf/NaN support" { spu-*-* } } */ #include "../../gcc.dg/tg-tests.h" int main(void) { return main_tests (); }
google
chromium
pr41680
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr41680.C
279
utf_8
e8f19401702ff3d3395f9dcdc0536e04
// PR target/41680 // { dg-do compile } extern void baz (float); inline bool bar (float x) { union { float f; int i; } u; u.f = x; return (u.i & 1); } void foo (float *x) { for (int i = 0; i < 10; i++) { float f = x[i]; if (!bar (f)) baz (f); } }
google
chromium
pr45875
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr45875.C
268
utf_8
c635c5a94fbb9eab57437a32a25cbe1a
// { dg-do compile } struct c1 {}; struct c10 : c1 { virtual void foo (); }; struct c11 : c10, c1 // // { dg-warning "" } { virtual void f6 (); }; struct c28 : virtual c11 { void f6 (); }; void check_c28 () { c28 obj; c11 *ptr = &obj; ptr->f6 (); }
google
chromium
pr32950
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr32950.C
161
utf_8
61a41127865c15f172eb94912777d1f6
/* { dg-do compile } */ struct A { __complex__ double c; }; struct B { A a; B(A x) : a(x) {} void foo(); }; void bar() { B b = A(); B(b).foo(); }
google
chromium
pr46469
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr46469.C
251
utf_8
a6bc67c38bd73046f786653410036b69
extern "C" __inline __attribute__ ((__gnu_inline__)) int pthread_equal () { } static __typeof (pthread_equal) __gthrw_pthread_equal __attribute__ ((__weakref__ ("pthread_equal"))); int identifierByPthreadHandle () { pthread_equal (); }
google
chromium
pr33735
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr33735.C
522
utf_8
a5cfb04004f59a611e1b6efa6796b3ca
// { dg-do compile } #include <string> typedef struct _ts { } PyThreadState; PyThreadState * Py_NewInterpreter(void); void Py_EndInterpreter(PyThreadState *); class ApplicationError { public: ApplicationError(std::string errormsg) : errormsg(errormsg) { } std::string errormsg; }; void run() { PyThreadState...
google
chromium
pr48954
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr48954.C
355
utf_8
9f37a6cceabc57b93082714e5a4d2035
/* { dg-do compile } */ /* { dg-options "-O2 -flto -fno-early-inlining -fkeep-inline-functions" } */ /* { dg-require-effective-target lto } */ struct A { virtual void foo () = 0; }; struct B : A {}; struct C : A {}; struct D: C, B { void foo () {} }; static inline void bar (B *b) { b->foo (); } int main () {...
google
chromium
pr36745
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr36745.C
1,957
utf_8
c4279bb7a6bcdb12cdd78ead95cac2be
/* PR target/36745 */ /* { dg-do compile } */ /* { dg-options "-O2 -fPIC" } */ /* { dg-require-effective-target fpic } */ typedef __SIZE_TYPE__ size_t; class QBasicAtomicInt { public: int _q_value; inline bool operator== (int value) const { } bool ref (); bool deref (); }; inline bool QBasicAtomicInt::ref ...
google
chromium
pr44972
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr44972.C
2,188
utf_8
9fdafaff42cd2c762720eba07a457ce9
/* { dg-do compile } */ #include<cassert> #include<new> #include<utility> namespace boost { template<class T> class optional; class aligned_storage { char data[ 1000 ]; public: void const* address() const { return &data[0]; } void * address() { return &data[0]; } } ; template<class T> class ...
google
chromium
pr48695
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr48695.C
665
utf_8
4d9b3aec8dc1acddc3c78be118c41e0e
// { dg-do run } typedef __SIZE_TYPE__ size_t; inline void *operator new (size_t, void *__p) throw() { return __p; } struct _Vector_impl { int *_M_start; int *_M_finish; _Vector_impl () :_M_start (0), _M_finish (0) {} }; struct vector { _Vector_impl _M_impl; int *_M_allocate (size_t __n) { return __...
google
chromium
pr38745
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr38745.C
552
utf_8
b40a32ddc241492f6a395ad16cd948ee
/* { dg-do compile } */ union u_u16 { unsigned short v; struct { unsigned char lo8, hi8; } __attribute__ ((__may_alias__)) u; } __attribute__ ((__may_alias__)); union u_u32 { unsigned int v; struct { u_u16 lo16, hi16; } u; } __attribute__ ((__may_alias__)); union u_u64 { struct ...
google
chromium
pr42714
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr42714.C
1,087
utf_8
6faa0f1bae4672d5d1fe30b02b392da8
struct QVectorData { static QVectorData shared_null; }; template <typename T> class QVector { union { QVectorData *d; }; public: inline QVector() : d(&QVectorData::shared_null) { } inline QVector(const QVector<T> &v) : d(v.d) { } }; class QXmlStreamAttribute { }; class QXmlStreamAttributes :...
google
chromium
pr42110
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr42110.C
359
utf_8
6288fd3a3bd0bd1724da11910b425047
/* { dg-do compile } */ bool foo(); struct A { A* fooA() { if (foo()) foo(); return this; } virtual void barA(char); }; template<int> struct B { A *p, *q; }; template<int N> inline void bar(B<N> b) { b.fooB(0); } extern template void bar(B<0>); void (*f)(B<0>) = bar; void baz() { B<0>().fooB(0); }
google
chromium
pr46111
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr46111.C
343
utf_8
ddc7d43b0451e3b3394574ac366e5622
// { dg-do compile } // { dg-require-effective-target pthread } // { dg-options "-ftree-parallelize-loops=2 -g" } struct A { int zero () { return 0; } }; static inline void bar (int) { } struct B { struct A a; B (int n) { for (int i = 0; i < n; i++) bar (a.zero ()); } }; void foo (int n)...
google
chromium
darwin-cfstring-3
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/darwin-cfstring-3.C
1,455
utf_8
8e9f5b7c091bd1c8d9aad12b2fe2c7e8
/* Test whether the __builtin__CFStringMakeConstantString /* { dg-do compile { target *-*-darwin* } } */ /* { dg-options "-mconstant-cfstrings" } */ typedef const struct __CFString *CFStringRef; #ifdef __CONSTANT_CFSTRINGS__ #define CFSTR(STR) ((CFStringRef) __builtin___CFStringMakeConstantString (STR)) #else #error ...
google
chromium
pr37354
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr37354.C
296
utf_8
0062aafd51bb4104c7553c9a0698f0ca
/* { dg-do compile } */ class GenericClass; struct AlsaDriver { virtual int _read (unsigned nframes); }; typedef void (GenericClass::*GenericMemFuncType) (); GenericMemFuncType m_pFunction; void AlsaDriver1 () { m_pFunction = reinterpret_cast < GenericMemFuncType > (&AlsaDriver::_read); }
google
chromium
pr47559
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr47559.C
129
utf_8
76848843bf5ed9a6d83a170499d76c64
// { dg-do compile } // { dg-options "-std=c++0x -fnon-call-exceptions" } void foo (int *k) noexcept { for (;;) *k = 0; }
google
chromium
pr41186
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr41186.C
377
utf_8
9a4c30ad05a6c9428a3e66a4527ee68a
/* { dg-do run } */ struct Foo { Foo() {}; int i; short f; }; struct Bar : public Foo { Bar() {}; short b; }; extern "C" void abort(void); int main() { Bar b1, b2; b2.i = 0; b1.f = 0; b1.b = 1; b2.f = 1; b2.b = 2; static_cast<Foo&>(b1) = static_cast<Foo&>(b2); if (b1.i != 0 || b1.b != 1) ...
google
chromium
pr43801
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr43801.C
292
utf_8
5ced4cff38d39e92cfb56362caf09160
// PR tree-optimization/43801 // { dg-do compile } // { dg-options "-fipa-cp -fipa-cp-clone" } struct A { virtual void f (int); }; struct B : virtual A { virtual void f (int i) { if (i) A::f(0); } }; struct C : virtual B { virtual void f (int) { B::f(0); } }; void foo () { C (); }
google
chromium
pr27218
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr27218.C
186
utf_8
161154ed9f6193a2a7da119e068c3f3f
/* { dg-do compile } */ struct Vector { double _x, _y; }; typedef Vector Point; Vector d; static inline Vector f(void) { return d; } void add_duck (void) { new Point (f()); }
google
chromium
pr49115
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr49115.C
396
utf_8
8fb5fa994e892c2497eac146b34e663e
// { dg-do run } extern "C" void abort (void); struct MyException {}; struct Data { int nr; Data() : nr(66) {} }; Data __attribute__((noinline,noclone)) getData(int i) { if (i) throw MyException(); Data data; data.nr = i; return data; } int main(int, char **) { Data data; try { data = getData...
google
chromium
pr33589-2
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr33589-2.C
193
utf_8
49a9ebbf21acce6fcc392bc19ee94d44
// { dg-do compile } void f(void*) throw(); void somefunction() { try { void (*g)(void*) = (void (*)(void*))f; void (*g2)(int*) = (void (*)(int*))g; g2(0); } catch (...) {throw;} }
google
chromium
pr35400
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr35400.C
117
utf_8
95e1ec333ba17743fc8ea464d26d4981
/* { dg-do compile } */ /* { dg-options "-Wtype-limits" } */ struct A { A(); ~A(); }; void foo() { A x[1]; }
google
chromium
pr49644
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr49644.C
306
utf_8
70ba1d6e65ff77ad5205e068917704ba
// PR c/49644 // { dg-do run } extern "C" void abort (); int main () { _Complex double a[12], *c = a, s = 3.0 + 1.0i; double b[12] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 }, *d = b; int i; for (i = 0; i < 6; i++) *c++ = *d++ * s; if (c != a + 6 || d != b + 6) abort (); return 0; }
google
chromium
pr45843
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr45843.C
344
utf_8
899aff880eda02736daf5cd753f86d9a
// PR target/45843 // { dg-do run } #include <stdarg.h> extern "C" void abort (); struct S { struct T { } a[14]; char b; }; struct S arg, s; void foo (int z, ...) { char c; va_list ap; va_start (ap, z); c = 'a'; arg = va_arg (ap, struct S); if (c != 'a') abort (); va_end (ap); } int main () { fo...
google
chromium
pr33887-3
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr33887-3.C
310
utf_8
537dd6ad14d9bd3e4fe18b40c792c0fa
/* { dg-do run } */ extern "C" void abort (void); struct s { unsigned long long f1 : 40; unsigned int f2 : 24; }; s sv; void __attribute__((noinline)) foo(unsigned int i) { unsigned int tmp; sv.f2 = i; tmp = sv.f2; if (tmp != 0) abort (); } int main() { foo (0xff000000u); return 0; }
google
chromium
pr31863
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr31863.C
16,894
utf_8
b2e08f7dfeca668db86cf581f9e9d893
/* { dg-do link } */ /* { dg-timeout-factor 2.0 } */ /* { dg-skip-if "Program too big" { "avr-*-*" } { "*" } { "" } } */ namespace Loki { class NullType {}; template <class T, class U> struct Typelist { typedef T Head; typedef U Tail; }; namespace TL { template ...
google
chromium
pr34222
.C
native_client/pnacl-gcc/gcc/testsuite/g++.dg/torture/pr34222.C
2,623
utf_8
1248abde88d3f7551bab7396c44ba034
/* { dg-do compile } */ namespace std __attribute__ ((__visibility__ ("default"))) { template<class _CharT> struct char_traits; } __extension__ typedef __PTRDIFF_TYPE__ ptrdiff_t; namespace std __attribute__ ((__visibility__ ("default"))) { typedef ptrdiff_t streamsize; template<typename _CharT, type...