llvm-capstone/clang/test/Index/preamble-reparse-with-BOM.m
Argyrios Kyrtzidis f0168de936 [libclang] Allow building a precompiled preamble with compiler errors
A while ago we allowed libclang to build a PCH that had compiler errors; this was to retain the performance
afforded by a PCH even if the user's code is in an intermediate state.

Extend this for the precompiled preamble as well.

rdar://14109828

llvm-svn: 183717
2013-06-11 00:36:55 +00:00

9 lines
224 B
Objective-C

@interface I2
@end
// RUN: env CINDEXTEST_EDITING=1 \
// RUN: c-index-test -test-load-source-reparse 1 local %s | FileCheck %s
// CHECK: preamble-reparse-with-BOM.m:2:12: ObjCInterfaceDecl=I2:2:12 Extent=[2:1 - 3:5]