tests/auto/linguist/lupdate/testdata/good/namespaces/main.cpp
changeset 19 fcece45ef507
parent 18 2f34d5167611
--- a/tests/auto/linguist/lupdate/testdata/good/namespaces/main.cpp	Fri Apr 16 15:50:13 2010 +0300
+++ b/tests/auto/linguist/lupdate/testdata/good/namespaces/main.cpp	Mon May 03 13:17:34 2010 +0300
@@ -135,4 +135,64 @@
     }
 };
 
+// QTBUG-8360
+namespace A {
+
+void foo()
+{
+    using namespace A;
+}
+
+void goo()
+{
+    return QObject::tr("Bla");
+}
+
+}
+
+
+namespace AA {
+namespace B {
+
+using namespace AA;
+
+namespace C {
+
+class Test : public QObject {
+    Q_OBJECT
+};
+
+}
+
+}
+
+using namespace B;
+using namespace C;
+
+void goo()
+{
+    AA::Test::tr("howdy?");
+}
+
+}
+
+
+namespace A1 {
+namespace B {
+
+class Test : public QObject {
+    Q_OBJECT
+};
+
+using namespace A1;
+
+void foo()
+{
+    B::B::B::Test::tr("yeeee-ha!");
+}
+
+}
+}
+
+
 #include "main.moc"