| commit | 237f349073409f698e242cb80412f1feeec223d4 | [log] [tgz] |
|---|---|---|
| author | Anders Carlsson <andersca@mac.com> | Wed Apr 01 00:58:25 2009 +0000 |
| committer | Anders Carlsson <andersca@mac.com> | Wed Apr 01 00:58:25 2009 +0000 |
| tree | 451f9324ac8cf2f059ee8f096007451f5e5960c7 | |
| parent | f16f90b4fd1b2169c7b3f62a1017f978192f6476 [diff] [blame] |
Implement code generation of namespaces and add mangling tests. llvm-svn: 68170
diff --git a/clang/test/CodeGenCXX/mangle.cpp b/clang/test/CodeGenCXX/mangle.cpp index 7acb31c..0a76ddda 100644 --- a/clang/test/CodeGenCXX/mangle.cpp +++ b/clang/test/CodeGenCXX/mangle.cpp
@@ -26,3 +26,9 @@ // RUN: grep _Z1fv %t | count 1 void f() { } + +// RUN: grep _ZN1N1fEv %t | count 1 +namespace N { void f() { } } + +// RUN: grep _ZN1N1N1fEv %t | count 1 +namespace N { namespace N { void f() { } } }