[LLVMbugs] [Bug 3769] Crash with dot syntax on class methods

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Mar 9 17:01:34 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=3769


snaroff at apple.com <snaroff at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




--- Comment #3 from snaroff at apple.com  2009-03-09 19:01:33 ---
This doesn't crash for me. What platform? switches? Need more info to debug...

[steve-naroffs-imac-2:~/llvm/tools/clang] snaroff% cat crash.m
@interface Test {}
+ (Test *)crash;
@end

@implementation Test

- (void)cachesPath
{
 static Test *cachesPath;

 if (!cachesPath) {
  Test *crash = Test.crash;
 }
}

@end
[steve-naroffs-imac-2:~/llvm/tools/clang] snaroff% ../../Debug/bin/clang
crash.m
crash.m:5:1: warning: incomplete implementation
@implementation Test
^
crash.m:5:1: warning: method definition for 'crash' not found
2 diagnostics generated.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list