r234687 - clang/test/CodeGenCXX/static-data-member-single-emission.cpp: Tweak for MS mangler.

NAKAMURA Takumi geek4civic at gmail.com
Sat Apr 11 07:57:11 PDT 2015


Author: chapuni
Date: Sat Apr 11 09:57:11 2015
New Revision: 234687

URL: http://llvm.org/viewvc/llvm-project?rev=234687&view=rev
Log:
clang/test/CodeGenCXX/static-data-member-single-emission.cpp: Tweak for MS mangler.

Modified:
    cfe/trunk/test/CodeGenCXX/static-data-member-single-emission.cpp

Modified: cfe/trunk/test/CodeGenCXX/static-data-member-single-emission.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/static-data-member-single-emission.cpp?rev=234687&r1=234686&r2=234687&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/static-data-member-single-emission.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/static-data-member-single-emission.cpp Sat Apr 11 09:57:11 2015
@@ -4,6 +4,7 @@ template <typename T>
 struct HasStaticInit {
 static const int index;
 };
+extern "C"
 int the_count = 0;
 template <typename T>
 const int HasStaticInit<T>::index = the_count++;





More information about the cfe-commits mailing list