Graydon Hoare | f5fe367 | 2017-06-29 19:42:35 +0000 | [diff] [blame] | 1 | // RUN: rm -rf %t |
2 | // RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs/lookup-assert-protocol %s -verify | ||||
3 | // expected-no-diagnostics | ||||
4 | |||||
5 | #include "Derive.h" | ||||
6 | #import <H3.h> | ||||
7 | |||||
8 | __attribute__((objc_root_class)) | ||||
9 | @interface Thing<DerivedProtocol> | ||||
10 | @end | ||||
11 | |||||
12 | @implementation Thing | ||||
13 | - (void)test { | ||||
14 | } | ||||
15 | - (void)test2 { | ||||
16 | } | ||||
17 | @end |