aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/CodeGenCXX/typeid.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/CodeGenCXX/typeid.cpp b/test/CodeGenCXX/typeid.cpp
index c2990586b5..1af96705ba 100644
--- a/test/CodeGenCXX/typeid.cpp
+++ b/test/CodeGenCXX/typeid.cpp
@@ -1,10 +1,12 @@
// RUN: %clang_cc1 -I%S %s -triple x86_64-apple-darwin10 -emit-llvm -fcxx-exceptions -fexceptions -o - | FileCheck %s
#include <typeinfo>
+namespace Test1 {
+
// PR7400
struct A { virtual void f(); };
-// CHECK: define i8* @_Z1fv
+// CHECK: define i8* @_ZN5Test11fEv
const char *f() {
try {
// CHECK: br i1
@@ -16,3 +18,5 @@ const char *f() {
return 0;
}
+
+}