// RUN: %clang_cc1 -std=c++11 -verify %s
;
;
; // expected-note {{enum 'S<char>::E' was explicitly specialized here}}
;
;
;
// The unqualified-id here names a member of the non-dependent base class Base
// and not the injected enumerator name 'a' from the specialization.
constexpr int
static_assert;
static_assert;
// The unqualified-id here names a member of the current instantiation, which
// bizarrely might not exist in some instantiations.
constexpr int // expected-error {{enumerator 'b' does not exist in instantiation of 'S<char>'}}
static_assert; // expected-note {{here}} expected-error {{not an integral constant expression}}
static_assert;
static_assert;
// 'b' is type-dependent, so these assertions should not fire before 'h' is
// instantiated.
void
void