quakeforge/tools/qfcc/test/syntax.r

44 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