commit | ecbce69e354c77bf2d359111bad0c77c516e16f0 | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Tue Sep 24 04:49:23 2013 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Tue Sep 24 04:49:23 2013 +0000 |
tree | 074c7cd3b390ac05673a3d0020e5cf13de90b084 | |
parent | f7b9a5a37fc9d1f6356afa14865129fb4a617932 [diff] [blame] |
Implement restriction that a partial specialization must actually specialize something, for variable templates. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191278 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGenCXX/static-member-variable-explicit-specialization.cpp b/test/CodeGenCXX/static-member-variable-explicit-specialization.cpp index f4b7246..50772bf 100644 --- a/test/CodeGenCXX/static-member-variable-explicit-specialization.cpp +++ b/test/CodeGenCXX/static-member-variable-explicit-specialization.cpp
@@ -49,7 +49,7 @@ struct b { template <typename T> static T i; }; -template<typename T> T b::i<T> = foo(); +template<typename T> T b::i = foo(); template int b::i<int>; } // CHECK: define internal void @[[unordered1]]