diff options
-rw-r--r-- | clang/test/AST/ast-dump-decl.m | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/AST/ast-dump-decl.m b/clang/test/AST/ast-dump-decl.m index 4cfb8aa0c41..b95ca1a7608 100644 --- a/clang/test/AST/ast-dump-decl.m +++ b/clang/test/AST/ast-dump-decl.m @@ -81,6 +81,14 @@ // CHECK-NEXT: ObjCProtocol{{.*}} 'P' // CHECK-NEXT: ObjCMethodDecl{{.*}} bar +@interface TestGenericInterface<T> : A<P> { +} +@end +// CHECK: ObjCInterfaceDecl{{.*}} TestGenericInterface +// CHECK-NEXT: -ObjCTypeParamDecl +// CHECK-NEXT: -super ObjCInterface +// CHECK-NEXT: -ObjCProtocol + @implementation TestObjCClass (TestObjCCategoryDecl) - (void) bar { } |