diff options
Diffstat (limited to 'test/Import/objc-param-decl/test.m')
-rw-r--r-- | test/Import/objc-param-decl/test.m | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Import/objc-param-decl/test.m b/test/Import/objc-param-decl/test.m new file mode 100644 index 0000000000000..ce05b01b0f833 --- /dev/null +++ b/test/Import/objc-param-decl/test.m @@ -0,0 +1,11 @@ +// RUN: clang-import-test -dump-ast -x objective-c++ -import %S/Inputs/S.m -expression %s | FileCheck %s + +// CHECK: ObjCTypeParamDecl +// CHECK-SAME: FirstParam +// CHECK-SAME: 'id<NSString>' +// CHECK-NEXT: ObjCTypeParamDecl +// CHECK-SAME: 'id':'id' + +void expr() { + Dictionary *d; +} |