xref: /llvm-project/clang/test/Modules/method_pool_write.m (revision a0f31a01f34dbde84b331cf49685c04cf02c8250)
1// RUN: rm -rf %t
2// RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -fsyntax-only -I %S/Inputs %s -verify
3// expected-no-diagnostics
4
5@import MethodPoolCombined;
6@import MethodPoolString2;
7
8void message_kindof_object(__kindof S2 *kindof_S2) {
9  [kindof_S2 stringValue];
10}
11
12