mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-04 18:40:04 +08:00
22 lines
290 B
C
Vendored
22 lines
290 B
C
Vendored
enum Foo{
|
|
a,
|
|
// ^ @constant
|
|
aa,
|
|
// ^ @constant
|
|
C,
|
|
};
|
|
|
|
void foo(enum Foo f){
|
|
switch ( f ) {
|
|
case a:
|
|
// ^ @constant
|
|
break;
|
|
case aa:
|
|
// ^ @constant
|
|
break;
|
|
case C:
|
|
break;
|
|
default:
|
|
}
|
|
}
|