repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
Parser
/
cxx98-enum.cpp
blob
ed85adea3c6e29f781c401d9a31f1301484fc8a6
1
// RUN: %clang_cc1 -std=c++98 -verify %s
2
3
enum
E
{};
4
enum
F
{};
5
6
struct
A
{
7
// OK, this is an enumeration bit-field.
8
enum
E
:
int
(
0
);
9
enum
F
:
int
{
0
};
// expected-error {{expected '(' for function-style cast}}
10
};