Commit abffd857 by Jakub Jelinek Committed by Jakub Jelinek

re PR objc++/60398 (FAIL: obj-c++.dg/invalid-method-2.mm -fgnu-runtime (test for errors, line 10))

	PR objc++/60398
	* obj-c++.dg/invalid-method-2.mm: Adjust dg-error regexps.

From-SVN: r208270
parent 3416dd87
2014-03-03 Jakub Jelinek <jakub@redhat.com>
PR objc++/60398
* obj-c++.dg/invalid-method-2.mm: Adjust dg-error regexps.
* c-c++-common/cilk-plus/PS/vectorlength-2.c: New test.
* c-c++-common/cilk-plus/PS/vectorlength-3.c: New test.
......
......@@ -7,11 +7,11 @@
@end
@implementation MyClass
- (x) method /* { dg-error "expected" } */
- (x) method /* { dg-error "expected|type" } */
{
return 0;
}
- (id) method2: (x)argument /* { dg-error "expected" } */
- (id) method2: (x)argument /* { dg-error "expected|type" } */
{
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment