minix/external/bsd/llvm/dist/clang/test/Index/pch-opaque-value.cpp
Lionel Sambuc f4a2713ac8 Importing netbsd clang -- pristine
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
2014-07-28 17:05:57 +02:00

16 lines
297 B
C++

struct S {
S();
S(int);
S(const S &);
~S();
};
void f() {
try {
} catch (S e) {
}
}
// RUN: c-index-test -write-pch %t.pch %s
// RUN: c-index-test -test-load-tu-usrs %t.pch local | FileCheck %s
// CHECK: pch-opaque-value.cpp c:pch-opaque-value.cpp@86@F@f#@e Extent=[10:12 - 10:15]