YouCompleteMe/cpp/llvm/tools/clang/test/Index/pch-opaque-value.cpp
Strahinja Val Markovic 1f51a89d39 Adding more llvm/clang files
These were ignored by git accidentally. We want ALL OF THEM since they all came
in the llvm/clang source distribution.
2012-07-05 17:55:45 -07:00

17 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]