summaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc.dg
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/objc.dg')
-rw-r--r--gcc/testsuite/objc.dg/alias.m4
-rw-r--r--gcc/testsuite/objc.dg/class-1.m2
-rw-r--r--gcc/testsuite/objc.dg/const-str-1.m2
-rw-r--r--gcc/testsuite/objc.dg/fwd-proto-1.m4
-rw-r--r--gcc/testsuite/objc.dg/id-1.m2
-rw-r--r--gcc/testsuite/objc.dg/super-class-1.m2
6 files changed, 8 insertions, 8 deletions
diff --git a/gcc/testsuite/objc.dg/alias.m b/gcc/testsuite/objc.dg/alias.m
index bf6d12d4e4d..a57d032eb37 100644
--- a/gcc/testsuite/objc.dg/alias.m
+++ b/gcc/testsuite/objc.dg/alias.m
@@ -1,7 +1,7 @@
/* Test alias warnings. */
/* { dg-do compile } */
-@compatibility_alias class1 class2; /* { dg-warning "Cannot find class" } */
+@compatibility_alias class1 class2; /* { dg-warning "annot find class" } */
@interface class3;
@end
@@ -9,4 +9,4 @@
@interface class4;
@end
-@compatibility_alias class4 class3; /* { dg-warning "Class" "already exists" } */
+@compatibility_alias class4 class3; /* { dg-warning "lass" "already exists" } */
diff --git a/gcc/testsuite/objc.dg/class-1.m b/gcc/testsuite/objc.dg/class-1.m
index a7760e10484..64304f590ec 100644
--- a/gcc/testsuite/objc.dg/class-1.m
+++ b/gcc/testsuite/objc.dg/class-1.m
@@ -17,4 +17,4 @@ int glob;
@implementation glob
@end /* { dg-error "redeclared as different kind of symbol" } */
/* { dg-error "previous declaration of" "" { target *-*-* } 15 } */
-/* { dg-warning "Cannot find interface declaration" "" { target *-*-* } 18 } */
+/* { dg-warning "annot find interface declaration" "" { target *-*-* } 18 } */
diff --git a/gcc/testsuite/objc.dg/const-str-1.m b/gcc/testsuite/objc.dg/const-str-1.m
index 1d94faa1757..6c6ae050cba 100644
--- a/gcc/testsuite/objc.dg/const-str-1.m
+++ b/gcc/testsuite/objc.dg/const-str-1.m
@@ -4,7 +4,7 @@
int foo()
{
- baz(@"hiya"); /* { dg-error "Cannot find interface declaration" } */
+ baz(@"hiya"); /* { dg-error "annot find interface declaration" } */
}
@interface NXConstantString
diff --git a/gcc/testsuite/objc.dg/fwd-proto-1.m b/gcc/testsuite/objc.dg/fwd-proto-1.m
index fd887802ada..3b21c513c52 100644
--- a/gcc/testsuite/objc.dg/fwd-proto-1.m
+++ b/gcc/testsuite/objc.dg/fwd-proto-1.m
@@ -10,12 +10,12 @@ typedef struct objc_object { struct objc_class *class_pointer; } *id;
@protocol Foo
- (id <Bar>)someMethod;
-- (id <Baz>)anotherMethod; /* { dg-error "Cannot find protocol declaration" } */
+- (id <Baz>)anotherMethod; /* { dg-error "annot find protocol declaration" } */
@end
@protocol Bar <Boo>
- (id <Foo>)someOtherMethod;
-- (id <Baz>)anotherMethod; /* { dg-error "Cannot find protocol declaration" } */
+- (id <Baz>)anotherMethod; /* { dg-error "annot find protocol declaration" } */
- (id <Boo>)yetAnotherMethod;
@end
diff --git a/gcc/testsuite/objc.dg/id-1.m b/gcc/testsuite/objc.dg/id-1.m
index 026a6d4b8ae..abc17bc67cc 100644
--- a/gcc/testsuite/objc.dg/id-1.m
+++ b/gcc/testsuite/objc.dg/id-1.m
@@ -3,4 +3,4 @@
typedef int id;
-id b; /* { dg-warning "Unexpected type for `id'" } */
+id b; /* { dg-warning "nexpected type for `id'" } */
diff --git a/gcc/testsuite/objc.dg/super-class-1.m b/gcc/testsuite/objc.dg/super-class-1.m
index d4252c97eba..9c8ab86d3a3 100644
--- a/gcc/testsuite/objc.dg/super-class-1.m
+++ b/gcc/testsuite/objc.dg/super-class-1.m
@@ -2,4 +2,4 @@
/* { dg-do compile } */
@interface class0 : supclass0
-@end /* { dg-error "Cannot find interface declaration for .*, superclass" } */
+@end /* { dg-error "annot find interface declaration for .*, superclass" } */