URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 308 |
Rev 338 |
/* Test if context-sensitive "in", "out", "byref", etc., qualifiers can be
|
/* Test if context-sensitive "in", "out", "byref", etc., qualifiers can be
|
used as method selectors. */
|
used as method selectors. */
|
/* Author: Ziemowit Laski . */
|
/* Author: Ziemowit Laski . */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
|
|
@interface Foo
|
@interface Foo
|
- (void)insertNewButtonImage:(Foo *)newButtonImage in:(Foo *)buttonCell;
|
- (void)insertNewButtonImage:(Foo *)newButtonImage in:(Foo *)buttonCell;
|
+ (oneway void)oneway:(int)i2 byref:(int)i3 out:(float)f4 bycopy:(float)f5;
|
+ (oneway void)oneway:(int)i2 byref:(int)i3 out:(float)f4 bycopy:(float)f5;
|
@end
|
@end
|
|
|
@implementation Foo
|
@implementation Foo
|
- (void)insertNewButtonImage:(Foo *)newButtonImage in:(Foo *)buttonCell { }
|
- (void)insertNewButtonImage:(Foo *)newButtonImage in:(Foo *)buttonCell { }
|
+ (oneway void)oneway:(int)i2 byref:(int)i3 out:(float)f4 bycopy:(float)f5 { }
|
+ (oneway void)oneway:(int)i2 byref:(int)i3 out:(float)f4 bycopy:(float)f5 { }
|
@end
|
@end
|
|
|
/* { dg-final { scan-assembler "insertNewButtonImage:in:" } } */
|
/* { dg-final { scan-assembler "insertNewButtonImage:in:" } } */
|
/* { dg-final { scan-assembler "oneway:byref:out:bycopy:" } } */
|
/* { dg-final { scan-assembler "oneway:byref:out:bycopy:" } } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.