Eli Friedman | 0f0615b | 2009-12-21 01:42:38 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -fsyntax-only -verify |
2 | |||||
3 | // "During the lookup for a base class name, non-type names are ignored" | ||||
4 | namespace PR5840 { | ||||
5 | struct Base {}; | ||||
6 | int Base = 10; | ||||
7 | struct Derived : Base {}; | ||||
8 | } |