// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s // expected-no-diagnostics // Deductions specific to C++0x. template struct member_pointer_kind { static const unsigned value = 0; }; template struct member_pointer_kind { static const unsigned value = 1; }; template struct member_pointer_kind { static const unsigned value = 2; }; template struct member_pointer_kind { static const unsigned value = 3; }; template struct member_pointer_kind { static const unsigned value = 4; }; template struct member_pointer_kind { static const unsigned value = 5; }; template struct member_pointer_kind { static const unsigned value = 6; }; struct X { }; static_assert(member_pointer_kind::value == 1, ""); static_assert(member_pointer_kind::value == 2, ""); static_assert(member_pointer_kind::value == 3, ""); static_assert(member_pointer_kind::value == 4, ""); static_assert(member_pointer_kind::value == 5, ""); static_assert(member_pointer_kind::value == 6, "");