diff options
Diffstat (limited to 'clang/test/CodeGenCXX/mangle.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/mangle.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/mangle.cpp b/clang/test/CodeGenCXX/mangle.cpp index 7acb31cc69e..0a76dddaff9 100644 --- a/clang/test/CodeGenCXX/mangle.cpp +++ b/clang/test/CodeGenCXX/mangle.cpp @@ -26,3 +26,9 @@ void f(y) { } // 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() { } } } |