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