代码搜索:parse
找到约 10,000 项符合「parse」的源代码
代码结果 10,000
www.eeworm.com/read/470720/1447751
c parse5.c
// Bug: foo (bar) should be a declaration of a static data member, not a
// function; it's getting caught by the rules for constructors.
// Build don't link:
typedef int foo;
typedef int bar;
struct
www.eeworm.com/read/470720/1447752
c parse6.c
// PRMS id: 4653
// Bug: g++ tries to resolve declarator/expression ambiguities too soon.
// Build don't link:
template struct A { };
void f () {
void (A::*pmf) (); // gets bogus err
www.eeworm.com/read/470720/1447822
c parse10.c
// 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 ? k = 5 : 0);
k
www.eeworm.com/read/470720/1447839
c parse11.c
// PRMS Id: 6825
// Build don't link:
class aClass
{
;
private:
; // This line causes problems
};
www.eeworm.com/read/470720/1447868
c parse2.c
// Bug: g++ doesn't understand constructor syntax for pointers.
// Build don't link:
void f () {
char * p (0);
}
www.eeworm.com/read/470720/1447870
c parse3.c
// PRMS Id: 4484 (bug 2)
// Bug: g++ does not grok abstract declarator syntax for method pointers.
// Build don't link:
template class A { };
void (A::*p)() = (void (A::*)())0; //
www.eeworm.com/read/470720/1447877
c parse8.c
// Build don't link:
void foo(const int* const); // gets bogus error
www.eeworm.com/read/470720/1447895
c parse7.c
// Bug: g++ tries to parse this as a constructor.
// Build don't link:
typedef int foo;
struct A {
foo (*bar)();
};
www.eeworm.com/read/470720/1447953
c parse1.c
// Bug: g++ parses the declaration of r as a function declaration.
// Build don't link:
void foo (int i)
{
int &r (i);
r = 1; // gets bogus error -
}
www.eeworm.com/read/470720/1447994
c parse12.c
// PRMS Id: 6821
struct A {
int operator()(int i) { return i; }
};
struct B {
A* p;
int f () { return (*p)(42); } // gets bogus error
};
int main ()
{
B b = { new A };
return b.f () != 4