brintos

brintos / llvm-project-archived public Read only

0
0
Text · 443 B · 3a6f52d Raw
13 lines · plain
1// RUN: rm -rf %t2// RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs/objc-category-2 %s -verify -fobjc-arc3 4// We have a definition of category and the base interface imported from a5// 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}13