]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Index/create-tu-fail.c
Vendor import of clang release_34 branch r197841 (effectively, 3.4 RC3):
[FreeBSD/FreeBSD.git] / test / Index / create-tu-fail.c
1 // RUN: rm -f %t.c
2 // RUN: touch %t.c
3 // RUN: c-index-test -write-pch %t.pch %t.c
4 // RUN: cp %s %t.c
5 // RUN: not c-index-test -test-load-tu %t.pch local 2>&1 | FileCheck %s
6
7 // rdar://11558355
8 // Unfortunately this would crash reliably only via valgrind.
9
10 // CHECK: Unable to load translation unit