summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/member-qual-debug-info.cpp
blob: c6e0991eeac94258f00fb4590fca4e9e4c5b31e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// RUN: %clang_cc1 -g -S -masm-verbose -x c++ -o %t %s
// RUN: grep DW_TAG_volatile_type %t | count 3
// RUN: grep DW_TAG_const_type %t | count 3
// one for decl, one for def, one for abbrev

namespace A {
  class B {
  public:
    void dump() const volatile;
  };
}

int main () {
  using namespace A;
  B b;
  return 0;
}

void A::B::dump() const volatile{
}
OpenPOWER on IntegriCloud