* fi.po: Update.
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / member4.C
blob6fab2f9d17b0175970f84943fa4a47854e85c241
1 // PR c++/69753
2 // { dg-do compile { target c++11 } }
4 class A {
5 public:
6   template <typename> void As();
7   static A *FromWebContents();
8   A *FromWebContents2();
9 };
10 template <typename T> class B : A {
11   void FromWebContents() {
12     auto guest = this->A::FromWebContents();
13     guest ? guest->As<T>() : nullptr;
14     auto guest2 = this->A::FromWebContents2();
15     guest2 ? guest2->As<T>() : nullptr;
16   }