Skip to content

Instantly share code, notes, and snippets.

@genuinelucifer
Created May 13, 2015 13:28
Show Gist options
  • Save genuinelucifer/82c983dd3087a3bb37a1 to your computer and use it in GitHub Desktop.
Save genuinelucifer/82c983dd3087a3bb37a1 to your computer and use it in GitHub Desktop.
Trying to re-create variable regeneration issue
diff --git a/tests/Basic/Basic.h b/tests/Basic/Basic.h
index 488dd2c..41fdc5e 100644
--- a/tests/Basic/Basic.h
+++ b/tests/Basic/Basic.h
@@ -6,6 +6,9 @@
#endif
#include <string>
+static int staticTest;
+int normalTest;
+
class DLL_API IgnoredType
{
class IgnoredNested
@@ -20,6 +23,9 @@ private:
class DLL_API Foo
{
private:
+ static int staticFooTest;
+ int normalFooTest;
+
enum Private
{
Value1,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment