commit | e4e55d2706a5736e251ec89b1eb68081c18263bb | [log] [tgz] |
---|---|---|
author | Steve Naroff <snaroff@apple.com> | Tue Apr 14 00:03:58 2009 +0000 |
committer | Steve Naroff <snaroff@apple.com> | Tue Apr 14 00:03:58 2009 +0000 |
tree | 3a5cda2bbb9abec3af0627be079178962e5e31e5 | |
parent | a541485bab30b83b630b8898c39a17eb571507ae [diff] [blame] |
Fix crasher in ASTContext::getObjCEncodingForMethodDecl(). This was exposed as a result of something else that was recently fixed. llvm-svn: 69004
diff --git a/clang/test/CodeGen/function-decay.m b/clang/test/CodeGen/function-decay.m new file mode 100644 index 0000000..9c87113 --- /dev/null +++ b/clang/test/CodeGen/function-decay.m
@@ -0,0 +1,10 @@ +// RUN: clang-cc %s -emit-llvm + +@interface I0 @end +@implementation I0 +- (void) im0: (int (void)) a0 { +} +@end + +void func(int pf(void)) { +}