summaryrefslogtreecommitdiff
path: root/usr.bin/diff/tests/functionname_objcclassm.in
blob: 37a9a76c6e6aa1df2495892e73682793290bb2a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
static void
doSomethingThenPrintHello(int test)
{
	test = test << 4;
	if (test % 8 == 6) {
		return;
	}

	print("goodbye\n");
}


- (long) readOffset:(FILE*)file
{
	if( version >= 11){
		long offset;
		fread(&offset, sizeof(long), 1, file);
		return offset;
	} else {
		int offset;
		fread(&offset, sizeof(int), 1, file);
		return offset;
	}
}

+ (BOOL) isEdible:(NSString *)mushroom
{
	/* With a solid guide book (such as Phillips 2006) assume we can't eat
	 * the fungus */
	return FALSE;
}