llvm-project/clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/p12.cpp

15 lines
150 B
C++

// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
struct S {};
S E0;
namespace {
enum {
E0 = 1,
E1 = E0 + 1
};
}