Home | History | Annotate | Download | only in SemaCXX
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 // expected-no-diagnostics
      3 
      4 // Check that this doesn't crash.
      5 struct A {
      6   enum {LABEL};
      7 };
      8 int f() {
      9   return A().A::LABEL;
     10 }
     11 
     12