Mercurial > hg > CbC > CbC_llvm
view tools/clang/test/Index/error-on-deserialized.c @ 53:f679cc5126db
include setjmp.h automatically
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 18 Jan 2014 23:56:19 +0900 |
parents | 95c75e76d11b |
children |
line wrap: on
line source
#include "targeted-top.h" // This tests that we will correctly error out on the deserialized decl. // RUN: c-index-test -write-pch %t.h.pch %S/targeted-top.h // RUN: env CINDEXTEST_FAILONERROR=1 not c-index-test -cursor-at=%S/targeted-nested1.h:2:16 %s -include %t.h \ // RUN: -Xclang -error-on-deserialized-decl=NestedVar1 // RUN: env CINDEXTEST_FAILONERROR=1 not c-index-test -cursor-at=%S/targeted-nested1.h:2:16 %s -include %t.h \ // RUN: -Xclang -error-on-deserialized-decl=NestedVar1 2>&1 \ // RUN: | FileCheck %s // CHECK: error: NestedVar1 was deserialized