aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc.dg/class-2.m
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/objc.dg/class-2.m')
-rw-r--r--gcc/testsuite/objc.dg/class-2.m5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/testsuite/objc.dg/class-2.m b/gcc/testsuite/objc.dg/class-2.m
index a4514f9290a..b98d117f54c 100644
--- a/gcc/testsuite/objc.dg/class-2.m
+++ b/gcc/testsuite/objc.dg/class-2.m
@@ -10,6 +10,5 @@
@interface class1 : supclass1
@end
-@implementation class1 : supclass2
-@end /* { dg-error "conflicting super class name" } */
-/* { dg-error "previous declaration" "" { target *-*-* } 14 } */
+@implementation class1 : supclass2 /* { dg-error "conflicting super class name" } */
+@end /* { dg-error "previous declaration" "" { target *-*-* } 13 } */