summaryrefslogtreecommitdiffstats
path: root/test/Index/create-tu-fail.c
blob: de3250173a3fc3b32028124ee31679af4b3b714f (plain)
1
2
3
4
5
6
7
8
9
10
// 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

// rdar://11558355
// Unfortunately this would crash reliably only via valgrind.

// CHECK: Unable to load translation unit