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