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