xref: /minix3/external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.enum/p2.cpp (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
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