xref: /minix3/external/bsd/llvm/dist/clang/test/Index/pch-opaque-value.cpp (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc struct S {
2*f4a2713aSLionel Sambuc   S();
3*f4a2713aSLionel Sambuc   S(int);
4*f4a2713aSLionel Sambuc   S(const S &);
5*f4a2713aSLionel Sambuc   ~S();
6*f4a2713aSLionel Sambuc };
7*f4a2713aSLionel Sambuc 
f()8*f4a2713aSLionel Sambuc void f() {
9*f4a2713aSLionel Sambuc   try {
10*f4a2713aSLionel Sambuc   } catch (S e) {
11*f4a2713aSLionel Sambuc   }
12*f4a2713aSLionel Sambuc }
13*f4a2713aSLionel Sambuc 
14*f4a2713aSLionel Sambuc // RUN: c-index-test -write-pch %t.pch %s
15*f4a2713aSLionel Sambuc // RUN: c-index-test -test-load-tu-usrs %t.pch local | FileCheck %s
16*f4a2713aSLionel Sambuc // CHECK: pch-opaque-value.cpp c:pch-opaque-value.cpp@86@F@f#@e Extent=[10:12 - 10:15]
17