annotate clang/test/Modules/objc-category.m @ 266:00f31e85ec16 default tip

Added tag current for changeset 31d058e83c98
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 14 Oct 2023 10:13:55 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: rm -rf %t
anatofuz
parents:
diff changeset
2 // RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs/objc-category %s -verify -fobjc-arc
anatofuz
parents:
diff changeset
3 // expected-no-diagnostics
anatofuz
parents:
diff changeset
4
anatofuz
parents:
diff changeset
5 // We have a definition of the base interface textually included from
anatofuz
parents:
diff changeset
6 // Category.h, the definition is also in the module that includes the base
anatofuz
parents:
diff changeset
7 // interface. We should be able to see the category in the TU.
anatofuz
parents:
diff changeset
8 #include "Category.h"
anatofuz
parents:
diff changeset
9 #import <H3.h>
anatofuz
parents:
diff changeset
10
anatofuz
parents:
diff changeset
11 void test(DVTSourceModel *m) {
anatofuz
parents:
diff changeset
12 [m test:1];
anatofuz
parents:
diff changeset
13 }