代码搜索:parse
找到约 10,000 项符合「parse」的源代码
代码结果 10,000
www.eeworm.com/read/162614/5522199
c parse6.c
// { dg-do assemble }
// PRMS id: 4653
// Bug: g++ tries to resolve declarator/expression ambiguities too soon.
template struct A { };
void f () {
void (A::*pmf) (); // { dg-bogus "
www.eeworm.com/read/162614/5522269
c parse10.c
// { dg-do run }
// Testcase for precedence of ?: wrt =
extern "C" int printf (const char *, ...);
int main()
{
int j = 0, k = 0;
1 ? j : k = 5; // should be parsed 1 ? j : (k = 5)
(void) (1
www.eeworm.com/read/162614/5522286
c parse11.c
// { dg-do assemble }
// PRMS Id: 6825
class aClass
{
; // { dg-error "" } missing declaration
private:
; // { dg-error "" } missing declaration
};
www.eeworm.com/read/162614/5522315
c parse2.c
// { dg-do assemble }
// Bug: g++ doesn't understand constructor syntax for pointers.
void f () {
char * p (0);
}
www.eeworm.com/read/162614/5522317
c parse3.c
// { dg-do assemble }
// PRMS Id: 4484 (bug 2)
// Bug: g++ does not grok abstract declarator syntax for method pointers.
template class A { };
void (A::*p)() = (void (A::*)())0;
www.eeworm.com/read/162614/5522324
c parse8.c
// { dg-do assemble }
void foo(const int* const); // { dg-bogus "" }
www.eeworm.com/read/162614/5522341
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/162614/5522398
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/162614/5522439
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/162614/5522461
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) ();
};