llvm-project/clang/test/APINotes/yaml-reader-errors.m
Egor Zhdan 932949dbb5
[APINotes] Upstream the remaining API Notes fixes and tests
This upstreams the last bits of Clang API Notes functionality that is
currently implemented in the Apple fork:
https://github.com/apple/llvm-project/tree/next/clang/lib/APINotes
2024-03-27 13:13:06 +00:00

6 lines
279 B
Matlab

// RUN: rm -rf %t
// RUN: not %clang_cc1 -fmodules -fimplicit-module-maps -fapinotes -fapinotes-modules -fmodules-cache-path=%t -I %S/Inputs/yaml-reader-errors/ -fsyntax-only %s > %t.err 2>&1
// RUN: FileCheck %S/Inputs/yaml-reader-errors/UIKit.apinotes < %t.err
@import UIKit;