diff options
Diffstat (limited to 'Tests/QtAutogen/StaticLibraryCycle/a.cpp')
-rw-r--r-- | Tests/QtAutogen/StaticLibraryCycle/a.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/QtAutogen/StaticLibraryCycle/a.cpp b/Tests/QtAutogen/StaticLibraryCycle/a.cpp new file mode 100644 index 0000000..faa52e6 --- /dev/null +++ b/Tests/QtAutogen/StaticLibraryCycle/a.cpp @@ -0,0 +1,12 @@ +#include "a.h" +#include "b.h" + +bool A::recursed = false; + +A::A() +{ + if (!A::recursed) { + A::recursed = true; + B b; + } +} |