blob: 944c7ea625dc849954e4b24bc79299f6b7926ddb [file] [log] [blame]
Manman Renec315f12016-09-09 23:48:27 +00001// RUN: rm -rf %t
2// RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs/objc-category %s -verify -fobjc-arc
3// expected-no-diagnostics
4
5// We have a definition of the base interface textually included from
6// Category.h, the definition is also in the module that includes the base
7// interface. We should be able to see the category in the TU.
8#include "Category.h"
9#import <H3.h>
10
11void test(DVTSourceModel *m) {
12 [m test:1];
13}