From 554bcb69c2d785a011a30e7db87a36a87fe7db10 Mon Sep 17 00:00:00 2001 From: dim Date: Wed, 15 Aug 2012 20:02:54 +0000 Subject: Vendor import of clang trunk r161861: http://llvm.org/svn/llvm-project/cfe/trunk@161861 --- test/CodeGenCXX/debug-info-user-def.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/CodeGenCXX/debug-info-user-def.cpp (limited to 'test/CodeGenCXX/debug-info-user-def.cpp') diff --git a/test/CodeGenCXX/debug-info-user-def.cpp b/test/CodeGenCXX/debug-info-user-def.cpp new file mode 100644 index 0000000..ecd3878 --- /dev/null +++ b/test/CodeGenCXX/debug-info-user-def.cpp @@ -0,0 +1,14 @@ +// RUN: %clang_cc1 -emit-llvm -g -triple x86_64-apple-darwin -std=c++11 %s -o - | FileCheck %s + +class A { +}; + +template class B { + T t; +}; + +A a; +B b; + +// Check that no subprograms are emitted into debug info. +// CHECK-NOT: [ DW_TAG_subprogram ] -- cgit v1.1