Debian Codegraph @

clang/test/Modules/objc-category-3.m

raw
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs/objc-category-3 %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 both categories in the TU.
8 #include "Category.h"
9 #import <Category_B.h>
10
11 void test(DVTSourceModel *m) {
12 [m test:1];
13 [m testB:1 matchingMask:2];
14 }