xref: /aosp_15_r20/external/clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/p12.cpp (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
3 
4 struct S {};
5 S E0;
6 
7 namespace {
8   enum {
9     E0 = 1,
10     E1 = E0 + 1
11   };
12 }
13 
14 
15