diff options
Diffstat (limited to 'packages/Python/lldbsuite/test/lang/cpp/gmodules-templates/main.cpp')
-rw-r--r-- | packages/Python/lldbsuite/test/lang/cpp/gmodules-templates/main.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/Python/lldbsuite/test/lang/cpp/gmodules-templates/main.cpp b/packages/Python/lldbsuite/test/lang/cpp/gmodules-templates/main.cpp new file mode 100644 index 000000000000..df7526165700 --- /dev/null +++ b/packages/Python/lldbsuite/test/lang/cpp/gmodules-templates/main.cpp @@ -0,0 +1,9 @@ +#include "b.h" + +int main(int argc, const char * argv[]) +{ + Module m; + // Test that the type Module which contains a field that is a + // template instantiation can be fully resolved. + return 0; //% self.assertTrue(self.frame().FindVariable('m').GetChildAtIndex(0).GetChildAtIndex(0).GetChildAtIndex(0).GetName() == 'buffer', 'find template specializations in imported modules') +} |