llvm-for-llvmta/tools/clang/test/CXX/dcl.dcl/dcl.enum/p2.cpp

7 lines
155 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -std=c++11 -verify %s
// expected-no-diagnostics
enum class E : int const volatile { };
using T = __underlying_type(E);
using T = int;