xref: /freebsd/usr.bin/diff/tests/functionname_objcclassm.in (revision 8aac90f18aef7c9eea906c3ff9a001ca7b94f375)
1static void
2doSomethingThenPrintHello(int test)
3{
4	test = test << 4;
5	if (test % 8 == 6) {
6		return;
7	}
8
9	print("goodbye\n");
10}
11
12
13- (long) readOffset:(FILE*)file
14{
15	if( version >= 11){
16		long offset;
17		fread(&offset, sizeof(long), 1, file);
18		return offset;
19	} else {
20		int offset;
21		fread(&offset, sizeof(int), 1, file);
22		return offset;
23	}
24}
25
26+ (BOOL) isEdible:(NSString *)mushroom
27{
28	/* With a solid guide book (such as Phillips 2006) assume we can't eat
29	 * the fungus */
30	return FALSE;
31}
32