diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2011-06-09 19:25:01 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-06-09 19:25:01 +0000 |
commit | 8805fe800e30d6597d8c900f590b74567873be78 (patch) | |
tree | f17d19a38fb612ad19c7ff28ec90a9f5c0dada91 /test/CodeGenObjCXX | |
parent | 2f072b442879b8bba8c5dea11d7c61bedb1924ae (diff) | |
download | clang-8805fe800e30d6597d8c900f590b74567873be78.tar.gz |
Don't add objc method name mangling to locally declared function.
// rdar://9566314
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132791 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenObjCXX')
-rw-r--r-- | test/CodeGenObjCXX/mangle.mm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/CodeGenObjCXX/mangle.mm b/test/CodeGenObjCXX/mangle.mm index 7a75a5b40e..2521c6076a 100644 --- a/test/CodeGenObjCXX/mangle.mm +++ b/test/CodeGenObjCXX/mangle.mm @@ -42,3 +42,15 @@ } @end +// rdar://9566314 +@interface NX +- (void)Meth; +@end + +@implementation NX +- (void)Meth { + void uiIsVisible(); +// CHECK: call void @_Z11uiIsVisiblev + uiIsVisible(); +} +@end |