]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Modules/lookup-assert-protocol.m
Vendor import of clang trunk r306956:
[FreeBSD/FreeBSD.git] / test / Modules / lookup-assert-protocol.m
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