]> granicus.if.org Git - clang/commitdiff
Remove PR5061 workaround.
authorAnders Carlsson <andersca@mac.com>
Tue, 29 Sep 2009 05:36:21 +0000 (05:36 +0000)
committerAnders Carlsson <andersca@mac.com>
Tue, 29 Sep 2009 05:36:21 +0000 (05:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83046 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/mangle-subst-std.cpp

index cc66607acda2204dec0036336dfdc6efa16e1f9f..6a81c6d04b36600084b624421400103850d5e56a 100644 (file)
@@ -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 { };