Skip to content

Commit 7b24b05

Browse files
committed
clang/test/CodeGenCXX/static-data-member-single-emission.cpp: Tweak for MS mangler.
llvm-svn: 234687
1 parent 58f5f9c commit 7b24b05

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ template <typename T>
44
struct HasStaticInit {
55
static const int index;
66
};
7+
extern "C"
78
int the_count = 0;
89
template <typename T>
910
const int HasStaticInit<T>::index = the_count++;

0 commit comments

Comments
 (0)