blob: 3a6f52d6105adac32814d9eb04b6a7a14cab4ace [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-2 %s -verify -fobjc-arc
3
4// We have a definition of category and the base interface imported from a
5// module, definition for the base interface is also textually included.
6// Currently we emit an error "duplicate interface definition".
7#import <Category.h>
8#include "H3.h"
9
10void test(DVTSourceModel *m) {
11 [m test:1];
12}