Move ast dump tools from tests/manual to tests/tools.

Reviewed-by: Friedemann Kleint
This commit is contained in:
Christian Kamm
2010-11-05 09:25:12 +01:00
parent dd45277a19
commit 1920372280
10 changed files with 3 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
struct QString
{
void append(char ch);
};
template <typename _Tp> struct QList {
const _Tp &at(int index);
};
struct QStringList: public QList<QString> {};
int main()
{
QStringList l;
l.at(0).append('a');
}