Searched refs:foo (Results 1 - 25 of 13250) sorted by relevance

1234567891011>>

/haiku-buildtools/gcc/gcc/testsuite/g++.dg/parse/
H A Dcrash52.C3 void foo() = // { dg-error "initialized|expected" }
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.jason/
H A Dparse8.C2 void foo(const int* const); // { dg-bogus "" }
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/cpp/
H A Dendif-pedantic1.c14 #else foo /* { dg-bogus "extra tokens" "bad warning" } */
H A Dfpreprocessed.c10 foo
H A Dpr28709.c7 #define foo - ## >> macro
8 foo;
H A Dendif-pedantic2.c14 #else foo /* { dg-error "extra tokens" "tokens after #else" } */
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/
H A Ddeclspec-12.c6 const struct foo; /* { dg-warning "useless type qualifier in empty declaration" } */
H A Dfuncdef-var-2.c8 int foo; variable
10 void foo () {} /* { dg-error "redeclared as different kind of symbol" } */ function
H A Dinline1.c3 /* This test is expected to fail with an error for the redefinition of foo.
6 static inline int foo(void) { return 1; } /* { dg-message "note: previous definition of" } */ function
7 static inline int foo(void) { return 0; } /* { dg-error "redefinition of" } */ function
H A Dinline2.c4 extern inline int foo (void) { return 0; } function
5 inline int foo (void) { return 1; } function
H A Dinline4.c3 /* This testcase should fail since we're redefining foo in the same
5 int foo (void) { return 2; } /* { dg-message "note: previous definition of" } */ function
6 extern inline int foo (void) { return 1; } /* { dg-error "redefinition of" } */ function
H A Dinline5.c3 /* This testcase should fail since we're redefining foo in the same
5 extern inline int foo (void) { return 2; } /* { dg-message "note: previous definition of" } */ function
6 extern inline int foo (void) { return 1; } /* { dg-error "redefinition of" } */ function
H A Dproto-1.c4 void foo() {} /* { dg-message "note: previous" } */ function
5 void foo(void[]); /* { dg-error "array of voids" } */
H A Dvisibility-9.c5 /* { dg-final { scan-hidden "foo" } } */
7 void foo();
9 void foo() { } function
H A Dpr64766.c5 foo () function
9 void foo () = 0; /* { dg-error "is initialized like a variable|invalid initializer" } */
H A Ddecl-nospec-3.c8 foo(); /* { dg-error "data definition has no type or storage class" } */
H A Ddecl-nospec-2.c8 foo(); /* { dg-warning "data definition has no type or storage class" } */
H A Ddecl-nospec-1.c8 foo(); /* { dg-warning "data definition has no type or storage class" } */
H A Dpr54113.c4 inline int foo (void) { return 42; } /* { dg-bogus "no previous prototype" } */ function
5 extern int foo(void);
H A Dpr63626.c7 inline int foo (void); /* { dg-bogus "inline function.*inline function" } */
8 /* { dg-warning "inline function .foo. declared but never defined" "" { target *-*-* } 7 } */
H A Dpr63877.c4 inline int foo (void) { return 42; } /* { dg-bogus "no previous declaration" } */ function
5 extern int foo (void);
/haiku-buildtools/gcc/gcc/testsuite/gfortran.dg/
H A Dfunction_kinds_5.f908 real (bad_kind(0d0)) function foo () ! { dg-error "must be an intrinsic function" } function
9 foo = real (kind (foo))
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/compile/
H A Dsym.c0 foo ()
3 return (int) &foo;
1 foo () function
H A Dsymconst.c0 foo ()
3 return (int)foo;
1 foo () function
H A Dandsi.c0 foo ()
3 return (int)&foo;
1 foo () function

Completed in 199 milliseconds

1234567891011>>