diff options
-rw-r--r-- | test/CodeGenCXX/mangle-subst-std.cpp | 8 |
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 { }; |