Home | History | Annotate | Download | only in CodeGenCXX
      1 // RUN: %clang_cc1 -emit-llvm -g -triple x86_64-apple-darwin %s -o - | FileCheck %s
      2 // PR11345
      3 
      4 class locale {
      5 private:
      6   void _M_add_reference() const throw() {
      7   }
      8 };
      9 class ios_base {
     10   locale _M_ios_locale;
     11 public:
     12   class Init {
     13   };
     14 };
     15 static ios_base::Init __ioinit;
     16 
     17 // CHECK-NOT: _M_ios_locale
     18