代码搜索:error
找到约 10,000 项符合「error」的源代码
代码结果 10,000
www.eeworm.com/read/233448/4674784
c bad-error1.c
// { dg-do assemble }
// GROUPS passed bad-errors
// bad-error file
// Message-Id:
// From: jjc@jclark.com (James Clark)
// Subject: initializer for static class membe
www.eeworm.com/read/233448/4674829
c missed-error2.c
// { dg-do assemble }
// GROUPS passed missed-error
// missed-error file
// From: ndc!don@csvax.cs.caltech.edu (Don Erway)
// Date: Thu, 21 May 92 15:40:45 PDT
// Subject: More on [g++ 2.1 : ove
www.eeworm.com/read/233448/4674843
c bad-error4.c
// { dg-do assemble }
// GROUPS passed bad-errors
#include
void * operator new(size_t, int *);
void * operator new(size_t, void *);
int *x = 0;
int foo(){
new (x) int *;
new (&x) int *;
www.eeworm.com/read/233448/4676330
mm syntax-error-3.mm
/* APPLE LOCAL file 4093475 */
/* Yet another stray infinite loop... */
/* { dg-do compile } */
@interface Foo
{
int x;
int y;
}
- (int) foo ; { /* { dg-error "stray .\{. between Objective\\-C\\+
www.eeworm.com/read/233448/4676336
mm syntax-error-5.mm
/* APPLE LOCAL begin radar 4261146 */
/* { dg-do compile } */
typedef struct S { int i; } NSDictionary;
@interface A
{
}
@end
@interface B : A
{
NSDictionary * _userInfo;
@end /* { dg-error
www.eeworm.com/read/233448/4676352
mm syntax-error-7.mm
/* APPLE LOCAL begin radar 4290840 */
/* { dg-do compile } */
@interface Foo
-(void) someMethod;
@end
@implementation Foo
-(void)
-(void) someMethod /* { dg-error "expected before .-." } */
{
}
@end
www.eeworm.com/read/233448/4676373
mm syntax-error-4.mm
/* APPLE LOCAL file 4093475 */
/* Yet another stray infinite loop... */
/* { dg-do compile } */
@interface t
{
}
- (void)go;
@end
@implementation t
- (void)go
{
}
} /* { dg-error "stray .\}.
www.eeworm.com/read/233448/4676386
mm syntax-error-2.mm
/* APPLE LOCAL file 4185810 */
/* Recover gracefully from a syntax error. */
@implementation Whatever /* { dg-warning "cannot find interface declaration for .Whatever." } */
- (void) function
{
i
www.eeworm.com/read/233448/4676392
mm syntax-error-1.mm
/* APPLE LOCAL file 4185810 */
/* Graceful handling of a syntax error. */
/* { dg-do compile } */
#include
class foo {
public:
foo();
virtual ~foo();
};
extern void NXLo
www.eeworm.com/read/233448/4676448
mm syntax-error-6.mm
/* APPLE LOCAL begin radar 4294425 */
/* { dg-do compile } */
@interface NSButton
- (int) state;
@end
void FOO()
{
NSButton * mCopyAcrobatCB;
[ [ mCopyAcrobatCB state ] == 0 ] != 1; /* { dg-