]> granicus.if.org Git - clang/commitdiff
clang/test/CodeGenCXX/static-data-member-single-emission.cpp: Tweak for MS mangler.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 11 Apr 2015 14:57:11 +0000 (14:57 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 11 Apr 2015 14:57:11 +0000 (14:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@234687 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/static-data-member-single-emission.cpp

index 2b821a90b23e669ffcac004cd132598980314dbd..8c04fab1931f2b184eed851d713536411694c311 100644 (file)
@@ -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++;