aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Index/create-tu-fail.c
blob: e82d26429d05b2190da0dcf7021f233a849e6d96 (plain)
1
2
3
4
5
6
7
8
9
// RUN: rm -f %t.c
// RUN: touch %t.c
// RUN: c-index-test -write-pch %t.pch %t.c
// RUN: cp %s %t.c
// RUN: not c-index-test -test-load-tu %t.pch local 2>&1 | FileCheck %s

// Unfortunately this would crash reliably only via valgrind.

// CHECK: Unable to load translation unit