quakeforge/tools/qfcc/test/syntax.r
2011-02-14 23:10:46 +09:00

43 lines
346 B
R

int z;
void foo (void)
{
int x;
integer y = x;
}
@interface something
integer x;
@end
@implementation something
integer a;
void doit (float how)
{
float why;
}
-hi
{
}
@end
@interface something(other)
{
integer x;
}
-hi: (integer) x there:(float) y
@end
float hah (vod)
{
}
float ahd (void)
{
float x;
}
@protocol whee
-hi
-bye;
@end