mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 02:39:40 +01:00 
			
		
		
		
	Objective-C methods or which are fields of Objective-C classes (since they
    are basically opaque to the Objective-C runtime) + fixed tobjc11 so it
    expects classes to be encoded as opaque types
  * give a proper error message when using illegal field/parameter types in
    Objective-C classes/methods instead of an internal error (only checked
    during rtti generation rather than during parsing, because during parsing
    some types may still be forwarddefs)
  * split objcutil in objcdef and objcutil, with objcdef depending only on
    the symtable so it can be used in symdef
git-svn-id: trunk@14838 -
		
	
			
		
			
				
	
	
		
			20 lines
		
	
	
		
			269 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			269 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
{ %fail }
 | 
						|
 | 
						|
{ %target=darwin }
 | 
						|
{ %cpu=powerpc,powerpc64,i386,x86_64,arm }
 | 
						|
 | 
						|
{$mode objfpc}
 | 
						|
{$modeswitch objectivec1}
 | 
						|
 | 
						|
type
 | 
						|
  tc = objcclass(NSObject)
 | 
						|
    procedure test(s: ansistring); message 'test:';
 | 
						|
  end;
 | 
						|
 | 
						|
procedure tc.test(s: ansistring);
 | 
						|
  begin
 | 
						|
  end;
 | 
						|
 | 
						|
begin
 | 
						|
end.
 |