代码搜索:parse
找到约 10,000 项符合「parse」的源代码
代码结果 10,000
www.eeworm.com/read/233448/4675879
c parse8.c
// { dg-do assemble }
void foo(const int* const); // { dg-bogus "" }
www.eeworm.com/read/233448/4675896
c parse7.c
// { dg-do assemble }
// Bug: g++ tries to parse this as a constructor.
typedef int foo;
struct A {
foo (*bar)();
};
www.eeworm.com/read/233448/4675953
c parse1.c
// { dg-do assemble }
// Bug: g++ parses the declaration of r as a function declaration.
void foo (int i)
{
int &r (i);
r = 1; // { dg-bogus "" }
}
www.eeworm.com/read/233448/4675994
c parse12.c
// { dg-do run }
// PRMS Id: 6821
struct A {
int operator()(int i) { return i; }
};
struct B {
A* p;
int f () { return (*p)(42); } // { dg-bogus "" }
};
int main ()
{
B b = { new A };
www.eeworm.com/read/233448/4676016
c parse14.c
// { dg-do assemble }
// Bug: g++ decides that A::foo is introducing a constructor declarator.
struct A {
typedef bool foo;
};
A::foo (*bar) ();
struct B {
A::foo (*bar) ();
};
www.eeworm.com/read/233448/4676048
c parse13.c
// { dg-do assemble }
struct A {
struct B {};
struct C;
};
struct A :: C : A :: B {}; // { dg-bogus "" } parse error before `:'
www.eeworm.com/read/233448/4676049
c parse9.c
// { dg-do run }
// PRMS Id: 5720
// Bug: the extra set of parens confuses the expr/declarator disambiguation.
class Fu
{
int val;
public:
Fu(int i) : val(i) { };
void print() { }
};
int main
www.eeworm.com/read/233448/4676090
c parse4.c
// { dg-do assemble }
// Bug: g++ doesn't handle superfluous parentheses when redeclaring a TYPENAME.
typedef int foo;
class A {
typedef int ((foo)); // { dg-bogus "" }
};
www.eeworm.com/read/230932/4718929
c parse_num.c
/* vi: set sw=4 ts=4: */
/*
* parse_num.c - Parse the number of blocks
*
* Copyright (C) 2004,2005 Theodore Ts'o
*
* This file can be redistributed under the terms of the GNU Li
www.eeworm.com/read/229812/4739280
c parse01.c
#include "fail.h"
struct S {
};
#ifdef __WATCOM_NAMESPACE__
namespace N {
};
#else
int N;
#endif
template struct T {};
struct H {
unsigned id : 1;
unsigned S : 1;