1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -std=c++11 -verify %s 2*0a6a1f1dSLionel Sambuc 3*0a6a1f1dSLionel Sambuc // expected-no-diagnostics 4*0a6a1f1dSLionel Sambuc enum class E : int const volatile { }; 5*0a6a1f1dSLionel Sambuc using T = __underlying_type(E); 6*0a6a1f1dSLionel Sambuc using T = int; 7