代码搜索:parse
找到约 10,000 项符合「parse」的源代码
代码结果 10,000
www.eeworm.com/read/162614/5519951
c parse1.c
// { dg-do assemble }
// Test that we save declspecs before a class defn properly.
static volatile union {
void f() { }
} u;
www.eeworm.com/read/162614/5520526
c parse2.c
// { dg-do assemble }
// Origin: Jason Merrill
template struct A {
A (const A&) { }
};
template A::A (const A&);
www.eeworm.com/read/162614/5521349
c parse5.c
// { dg-do assemble }
class ptr8
{
public:
ptr8(unsigned char *string,int len);
};
template
class buf
{
public:
buf(const ptr8& aRef);
};
int main()
{
uns
www.eeworm.com/read/162614/5521350
c parse6.c
// { dg-do assemble }
class A { };
int main() {
A a = a;
A b(b);
}
www.eeworm.com/read/162614/5521443
c parse2.c
// { dg-do assemble }
// GROUPS passed parsing
class BitString {
public:
int i;
};
typedef BitString BS;
typedef ::BitString cBS;
www.eeworm.com/read/162614/5521444
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/162614/5521497
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/162614/5521599
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/162614/5521871
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/162614/5522198
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