[cfe-commits] r148585 - /cfe/trunk/test/CodeGenCXX/debug-info-context.cpp

Eric Christopher echristo at apple.com
Fri Jan 20 14:10:18 PST 2012


Author: echristo
Date: Fri Jan 20 16:10:18 2012
New Revision: 148585

URL: http://llvm.org/viewvc/llvm-project?rev=148585&view=rev
Log:
Testcase for PR11345.

Added:
    cfe/trunk/test/CodeGenCXX/debug-info-context.cpp

Added: cfe/trunk/test/CodeGenCXX/debug-info-context.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/debug-info-context.cpp?rev=148585&view=auto
==============================================================================
--- cfe/trunk/test/CodeGenCXX/debug-info-context.cpp (added)
+++ cfe/trunk/test/CodeGenCXX/debug-info-context.cpp Fri Jan 20 16:10:18 2012
@@ -0,0 +1,17 @@
+// RUN: %clang_cc1 -emit-llvm -g -triple x86_64-apple-darwin %s -o - | FileCheck %s
+// PR11345
+
+class locale {
+private:
+  void _M_add_reference() const throw() {
+  }
+};
+class ios_base {
+  locale _M_ios_locale;
+public:
+  class Init {
+  };
+};
+static ios_base::Init __ioinit;
+
+// CHECK-NOT: _M_ios_locale





More information about the cfe-commits mailing list