xref: /llvm-project/clang/test/APINotes/yaml-parse-diags.c (revision 932949dbb517b089af28fdc480a16a738ee5db78)
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -fsyntax-only -fapinotes %s -I %S/Inputs/BrokenHeaders -verify
3 
4 #include "SomeBrokenLib.h"
5 
6 // expected-error@APINotes.apinotes:4{{unknown key 'Nu llabilityOfRet'}}
7