summaryrefslogtreecommitdiff
path: root/test/CXX/basic/basic.lookup/basic.lookup.unqual/p12.cpp
blob: 878ff078bc267e546c04d5aeb392bd045a477f0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: %clang_cc1 -fsyntax-only -verify %s

struct S {};
S E0;

namespace {
  enum {
    E0 = 1,
    E1 = E0 + 1
  };
}