代码搜索:parse
找到约 10,000 项符合「parse」的源代码
代码结果 10,000
www.eeworm.com/read/233448/4674998
c parse3.c
// { dg-do assemble }
// these are marked as expected errors because they evidence an
// ambiguity in the grammar between expressions and declarations.
// when the parser's been cleaned up or rewrit
www.eeworm.com/read/233448/4675051
c parse1.c
// { dg-do assemble }
// GROUPS passed parsing
class Try {
private:
char s;
public:
// an escaped double-quote should not call consume_string inside
// reinit_parse_for_block
void mf() { s='
www.eeworm.com/read/233448/4675153
c parse4.c
// { dg-do assemble }
class B
{
public:
B( int t ) {}
void f() {}
};
int g() { return 0; } // referenced below
int main()
{
int try1;
B( try1 ).f(); // no syntax error
B b( g
www.eeworm.com/read/233448/4675426
c parse1.c
// { dg-do assemble }
enum { name1 };
struct name0 { };
struct name1 { };
struct derived1 : public name1 { };
struct derived2 : public name0, public name1 { };
www.eeworm.com/read/233448/4675753
c parse5.c
// { dg-do assemble }
// Bug: foo (bar) should be a declaration of a static data member, not a
// function; it's getting caught by the rules for constructors.
typedef int foo;
typedef int bar;
struc
www.eeworm.com/read/233448/4675754
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/233448/4675824
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/233448/4675841
c parse11.c
// { dg-do assemble }
// PRMS Id: 6825
class aClass
{
; // { dg-error "" } missing declaration
private:
; // { dg-error "" } missing declaration
};
www.eeworm.com/read/233448/4675870
c parse2.c
// { dg-do assemble }
// Bug: g++ doesn't understand constructor syntax for pointers.
void f () {
char * p (0);
}
www.eeworm.com/read/233448/4675872
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;