Home | History | Annotate | Download | only in CodeGenCXX
      1 // RUN: %clang_cc1 -fno-standalone-debug -x c++ -g -S -emit-llvm < %s | FileCheck %s
      2 // rdar://10336845
      3 // Preserve type qualifiers in -flimit-debug-info mode.
      4 
      5 // CHECK:  DW_TAG_const_type
      6 class A {
      7 public:
      8   int bar(int arg) const;
      9 };
     10 
     11 int A::bar(int arg) const{
     12   return arg+2;
     13 }
     14 
     15 int main() {
     16   A a;
     17   int i = a.bar(2);
     18   return i;
     19 }
     20