Aggregate & rename limit debug info tests.
llvm-svn: 184596
diff --git a/clang/test/CodeGenCXX/debug-info-class-limited.cpp b/clang/test/CodeGenCXX/debug-info-class-limited.cpp
index fd542a8..f55b9b1 100644
--- a/clang/test/CodeGenCXX/debug-info-class-limited.cpp
+++ b/clang/test/CodeGenCXX/debug-info-class-limited.cpp
@@ -9,6 +9,28 @@
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);
+}
}