From: David Blaikie Date: Fri, 21 Jun 2013 21:23:18 +0000 (+0000) Subject: Aggregate & rename limit debug info tests. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ef042d11523a40e93ed3dffffc0af9c9647651a;p=clang Aggregate & rename limit debug info tests. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184596 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenCXX/debug-info-class-limited.cpp b/test/CodeGenCXX/debug-info-class-limited.cpp index fd542a8bb0..f55b9b1879 100644 --- a/test/CodeGenCXX/debug-info-class-limited.cpp +++ b/test/CodeGenCXX/debug-info-class-limited.cpp @@ -9,6 +9,28 @@ struct foo { typedef foo bar; -bar *f; -bar g; +bar *a; +bar b; +} + +namespace test1 { +struct foo { + int i; +}; + +foo *foo(foo *a) { + foo *b = new foo(*a); + return b; +} +} + +namespace test2 { +struct foo { + int i; +}; + +extern int bar(foo *a); +int baz(foo *a) { + return bar(a); +} } diff --git a/test/CodeGenCXX/debug-info-limit.cpp b/test/CodeGenCXX/debug-info-limited.cpp similarity index 100% rename from test/CodeGenCXX/debug-info-limit.cpp rename to test/CodeGenCXX/debug-info-limited.cpp