summaryrefslogtreecommitdiff
path: root/clang/test/Index/pch-opaque-value.cpp
blob: ae6b6dc58853bac5a42192c18bf2f740f174733b (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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]