summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/mangle-subst-std.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-09-29 05:36:21 +0000
committerAnders Carlsson <andersca@mac.com>2009-09-29 05:36:21 +0000
commitfcd0029a4ccd1380e0148b846de3bd85d2fa8ab4 (patch)
treef1db74a045d6cc16ba8b71d649bca9dd8ea16b71 /test/CodeGenCXX/mangle-subst-std.cpp
parent2472bf0a1735fa9c60a01946d5ed53b64c9c2422 (diff)
Remove PR5061 workaround.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83046 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/mangle-subst-std.cpp')
-rw-r--r--test/CodeGenCXX/mangle-subst-std.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/CodeGenCXX/mangle-subst-std.cpp b/test/CodeGenCXX/mangle-subst-std.cpp
index cc66607acd..6a81c6d04b 100644
--- a/test/CodeGenCXX/mangle-subst-std.cpp
+++ b/test/CodeGenCXX/mangle-subst-std.cpp
@@ -12,19 +12,15 @@ namespace std {
template<typename T> struct allocator { };
}
-// FIXME: typename is really not allowed here, but it's kept
-// as a workaround for PR5061.
// CHECK: define void @_Z1fSaIcESaIiE
-void f(typename std::allocator<char>, typename std::allocator<int>) { }
+void f(std::allocator<char>, std::allocator<int>) { }
namespace std {
template<typename T, typename U, typename V> struct basic_string { };
}
-// FIXME: typename is really not allowed here, but it's kept
-// as a workaround for PR5061.
// CHECK: define void @_Z1fSbIcciE
-void f(typename std::basic_string<char, char, int>) { }
+void f(std::basic_string<char, char, int>) { }
namespace std {
template<typename T> struct char_traits { };