]> granicus.if.org Git - clang/commitdiff
Testcase for PR11345.
authorEric Christopher <echristo@apple.com>
Fri, 20 Jan 2012 22:10:18 +0000 (22:10 +0000)
committerEric Christopher <echristo@apple.com>
Fri, 20 Jan 2012 22:10:18 +0000 (22:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148585 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/debug-info-context.cpp [new file with mode: 0644]

diff --git a/test/CodeGenCXX/debug-info-context.cpp b/test/CodeGenCXX/debug-info-context.cpp
new file mode 100644 (file)
index 0000000..d6d44a1
--- /dev/null
@@ -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