diff options
Diffstat (limited to 'test/AST')
-rw-r--r-- | test/AST/ast-dump-decl.m | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/AST/ast-dump-decl.m b/test/AST/ast-dump-decl.m index 4cfb8aa0c4..b95ca1a760 100644 --- a/test/AST/ast-dump-decl.m +++ b/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 { } |