Skip to content
Snippets Groups Projects
Commit 79e18a85 authored by NAKAMURA Takumi's avatar NAKAMURA Takumi
Browse files

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@234687 91177308-0d34-0410-b5e6-96231b3b80d8
parent 488f49d7
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,7 @@ template <typename T> ...@@ -4,6 +4,7 @@ template <typename T>
struct HasStaticInit { struct HasStaticInit {
static const int index; static const int index;
}; };
extern "C"
int the_count = 0; int the_count = 0;
template <typename T> template <typename T>
const int HasStaticInit<T>::index = the_count++; const int HasStaticInit<T>::index = the_count++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment