summaryrefslogtreecommitdiff
path: root/clang/test/SemaCXX/qualified-member-enum.cpp
blob: 83b0a5911d430a7655bd5eb5e384e2337fe5efe8 (about) (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %clang_cc1 -fsyntax-only -verify %s 

// Check that this doesn't crash.
struct A {
  enum {LABEL};
};
int f() {
  return A().A::LABEL;
}