summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/lookup-assert-protocol.m
blob: 3c093f1bf156ced4eb8596667a0cfd0498813145 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// RUN: rm -rf %t
// RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs/lookup-assert-protocol %s -verify
// expected-no-diagnostics

#include "Derive.h"
#import <H3.h>

__attribute__((objc_root_class))
@interface Thing<DerivedProtocol>
@end

@implementation Thing
- (void)test {
}
- (void)test2 {
}
@end
OpenPOWER on IntegriCloud