quakeforge/tools/qfcc/test/old/syntax.r

44 lines
346 B
R
Raw Normal View History

2011-02-14 06:46:06 +00:00
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