Home | History | Annotate | Download | only in class.derived
      1 // RUN: %clang_cc1 %s -fsyntax-only -verify
      2 // expected-no-diagnostics
      3 
      4 // "During the lookup for a base class name, non-type names are ignored"
      5 namespace PR5840 {
      6   struct Base {};
      7   int Base = 10;
      8   struct Derived : Base {};
      9 }
     10