Don't mangle names of local variables.
- For one thing, this adds unneeded overhead; for another, this
routine can be used to emit unnamed decls which we shouldn't try to
mangle.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66212 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Coverage/objc-language-features.inc b/test/Coverage/objc-language-features.inc
index 25988f5..3b092ff 100644
--- a/test/Coverage/objc-language-features.inc
+++ b/test/Coverage/objc-language-features.inc
@@ -51,6 +51,9 @@
@implementation A (Cat)
@end
+@interface B
+@end
+
int f0(id x) {
#ifndef IRGENABLE_GNU
#ifndef IRGENABLE
@@ -62,8 +65,13 @@
#ifndef IRGENABLE_GNU
@try {
@throw x;
+
} @catch(A *e) {
@throw;
+
+ // @catch param doesn't require name.
+ } @catch(B *) {
+
} @finally {
;
}