Sign in
llvm
/
llvm-project
/
b83a4222b1ab5f4ddab19d83995a43646af56bfe
/
.
/
clang
/
test
/
Parser
/
cxx98-enum.cpp
blob: ed85adea3c6e29f781c401d9a31f1301484fc8a6 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -std=c++98 -verify %s
enum
E
{};
enum
F
{};
struct
A
{
// OK, this is an enumeration bit-field.
enum
E
:
int
(
0
);
enum
F
:
int
{
0
};
// expected-error {{expected '(' for function-style cast}}
};