Alien-SmokeQt
view release on metacpan or search on metacpan
generator/parser/tests/test_generator.cpp view on Meta::CPAN
parse(QByteArray("class A { friend class F; }; "));
}
void testUsingDeclarationInTemplate()
{
parse(QByteArray("template<class T> class A { T i; }; template<class Q> struct B: private A<Q> { using A<T>::i; };"));
}
void testDeclareUsingNamespace2()
{
parse(QByteArray("namespace foo2 {int bar2; namespace SubFoo { int subBar2; } } namespace foo { int bar; using namespace foo2; } namespace GFoo{ namespace renamedFoo2 = foo2; using namespace renamedFoo2; using namespace SubFoo; int gf; } using na...
}
void testFunctionDefinition3()
{
parse(QByteArray("class B{template<class T> void test(T t); B(int i); int test(int a); int test(char a); template<class T2, class T3> void test(T2 t, T3 t3); int test(Unknown k); int test(Unknown2 k); }; template<class T> void B::test(T t) {} B::...
}
void testTemplateEnums()
{
parse(QByteArray("template<bool num> struct No {}; No<true> n;"));
( run in 0.227 second using v1.01-cache-2.11-cpan-e9daa2b36ef )